Skip to content

Commit

Permalink
chore: hide view
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Jul 15, 2024
1 parent 874524c commit 4db1ac3
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ class SettingsAIView extends StatelessWidget {
title: LocaleKeys.settings_aiPage_title.tr(),
description:
LocaleKeys.settings_aiPage_keys_aiSettingsDescription.tr(),
children: const [
AIModelSelection(),
LocalModelConfig(),
_AISearchToggle(value: false),
children: [
const AIModelSelection(),
if (state.aiSettings!.aiModel == AIModelPB.LocalAIModel)
const LocalModelConfig(),
const _AISearchToggle(value: false),
],
);
},
Expand Down

0 comments on commit 4db1ac3

Please sign in to comment.