Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Jul 15, 2024
1 parent 874524c commit cd06f62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ where
let try_get_client = self.server.try_get_client();
FutureResult::new(async move {
let client = try_get_client?;
client.cancel_subscription(&workspace_id, &SubscriptionPlan::Pro).await?; // TODO:
client
.cancel_subscription(&workspace_id, &SubscriptionPlan::Pro)
.await?; // TODO:
Ok(())
})
}
Expand Down

0 comments on commit cd06f62

Please sign in to comment.