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: fix ios build
Nathane553627ee53a
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dartindex dab07773d1..14ecfb3708 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/settings_ai_view.dart@@ -55,16 +55,13 @@ class SettingsAIView extends StatelessWidget {];children.add(const _AISearchToggle(value: false));-- if (state.currentWorkspaceMemberRole != null) {- children.add(- _LocalAIOnBoarding(- userProfile: userProfile,- currentWorkspaceMemberRole: state.currentWorkspaceMemberRole!,- workspaceId: workspaceId,- ),- );- }+ children.add(+ _LocalAIOnBoarding(+ userProfile: userProfile,+ currentWorkspaceMemberRole: state.currentWorkspaceMemberRole!,+ workspaceId: workspaceId,+ ),+ );return SettingsBody(title: LocaleKeys.settings_aiPage_title.tr(),diff --git a/frontend/rust-lib/flowy-ai/src/local_ai/watch.rs b/frontend/rust-lib/flowy-ai/src/local_ai/watch.rsindex a5707bab72..e2a11741c8 100644--- a/frontend/rust-lib/flowy-ai/src/local_ai/watch.rs+++ b/frontend/rust-lib/flowy-ai/src/local_ai/watch.rs@@ -79,13 +79,18 @@ pub(crate) fn install_path() -> Option<PathBuf> {return None;}+pub fn is_plugin_ready() -> bool {+ ollama_plugin_path().exists() || ollama_plugin_command_available()+}+#[cfg(not(any(target_os = "windows", target_os = "macos", target_os = "linux")))]-pub(crate) fn offline_app_path() -> PathBuf {- PathBuf::new()+pub(crate) fn is_plugin_ready() -> bool {+ false}-pub fn is_plugin_ready() -> bool {- ollama_plugin_path().exists() || ollama_plugin_command_available()+#[cfg(not(any(target_os = "windows", target_os = "macos", target_os = "linux")))]+pub(crate) fn ollama_plugin_path() -> PathBuf {+ PathBuf::new()}#[cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))]