mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove local ai (#5837)
* chore: remove local ai * chore: flutter analyze
This commit is contained in:
parent
d52a04a9e3
commit
735a09b333
@ -52,11 +52,12 @@ class SettingsAIView extends StatelessWidget {
|
||||
];
|
||||
|
||||
children.add(const _AISearchToggle(value: false));
|
||||
children.add(
|
||||
_LocalAIOnBoarding(
|
||||
workspaceId: userProfile.workspaceId,
|
||||
),
|
||||
);
|
||||
// TODO(nathan): enable local ai
|
||||
// children.add(
|
||||
// _LocalAIOnBoarding(
|
||||
// workspaceId: userProfile.workspaceId,
|
||||
// ),
|
||||
// );
|
||||
|
||||
return SettingsBody(
|
||||
title: LocaleKeys.settings_aiPage_title.tr(),
|
||||
@ -113,6 +114,7 @@ class _AISearchToggle extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
// ignore: unused_element
|
||||
class _LocalAIOnBoarding extends StatelessWidget {
|
||||
const _LocalAIOnBoarding({required this.workspaceId});
|
||||
final String workspaceId;
|
||||
|
@ -212,6 +212,7 @@ class _SettingsBillingViewState extends State<SettingsBillingView> {
|
||||
|
||||
// Currently, the AI Local tile is only available on macOS
|
||||
// TODO(nathan): enable windows and linux
|
||||
// TODO(nathan): enable local ai
|
||||
// if (Platform.isMacOS)
|
||||
// _AITile(
|
||||
// plan: SubscriptionPlanPB.AiLocal,
|
||||
|
@ -139,6 +139,7 @@ class _SettingsPlanViewState extends State<SettingsPlanView> {
|
||||
|
||||
// Currently, the AI Local tile is only available on macOS
|
||||
// TODO(nathan): enable windows and linux
|
||||
// TODO(nathan): enable local ai
|
||||
// if (Platform.isMacOS)
|
||||
// Flexible(
|
||||
// child: _AddOnBox(
|
||||
|
Loading…
Reference in New Issue
Block a user