Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: adjust UI
Nathan72b13dd94141
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dartindex 949145afbd..feec20afdb 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dart@@ -45,7 +45,7 @@ class LocalAISetting extends StatelessWidget {collapsed: const SizedBox.shrink(),expanded: Column(children: [- const VSpace(6),+ const VSpace(12),DecoratedBox(decoration: BoxDecoration(color:diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting_panel.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting_panel.dartindex c379cf6089..5357db5c91 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting_panel.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting_panel.dart@@ -1,6 +1,5 @@import 'package:appflowy/workspace/application/settings/ai/local_ai_setting_panel_bloc.dart';import 'package:appflowy/workspace/presentation/settings/pages/setting_ai_view/ollma_setting.dart';-import 'package:expandable/expandable.dart';import 'package:flowy_infra_ui/widget/spacing.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';@@ -13,40 +12,19 @@ class LocalAISettingPanel extends StatelessWidget {Widget build(BuildContext context) {return BlocProvider(create: (context) => LocalAISettingPanelBloc(),- child: ExpandableNotifier(- initialExpanded: true,- child: ExpandablePanel(- theme: const ExpandableThemeData(- headerAlignment: ExpandablePanelHeaderAlignment.center,- tapBodyToCollapse: false,- hasIcon: false,- tapBodyToExpand: false,- tapHeaderToExpand: false,- ),- header: const SizedBox.shrink(),- collapsed: const SizedBox.shrink(),- expanded: Padding(- padding: const EdgeInsets.symmetric(vertical: 6),- child:- BlocBuilder<LocalAISettingPanelBloc, LocalAISettingPanelState>(- builder: (context, state) {- return Column(- crossAxisAlignment: CrossAxisAlignment.start,- children: [- // If the progress indicator is startLocalAIApp, then don't show the LLM model.- if (state.progressIndicator ==- const LocalAIProgress.downloadLocalAIApp())- const SizedBox.shrink()- else ...[- OllamaSettingPage(),- VSpace(6),- PluginStateIndicator(),- ],- ],- );- },- ),- ),+ child: Padding(+ padding: const EdgeInsets.symmetric(vertical: 6),+ child: BlocBuilder<LocalAISettingPanelBloc, LocalAISettingPanelState>(+ builder: (context, state) {+ return Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ OllamaSettingPage(),+ VSpace(6),+ PluginStateIndicator(),+ ],+ );+ },),),);