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(const _AISearchToggle(value: false));
|
||||||
children.add(
|
// TODO(nathan): enable local ai
|
||||||
_LocalAIOnBoarding(
|
// children.add(
|
||||||
workspaceId: userProfile.workspaceId,
|
// _LocalAIOnBoarding(
|
||||||
),
|
// workspaceId: userProfile.workspaceId,
|
||||||
);
|
// ),
|
||||||
|
// );
|
||||||
|
|
||||||
return SettingsBody(
|
return SettingsBody(
|
||||||
title: LocaleKeys.settings_aiPage_title.tr(),
|
title: LocaleKeys.settings_aiPage_title.tr(),
|
||||||
@ -113,6 +114,7 @@ class _AISearchToggle extends StatelessWidget {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ignore: unused_element
|
||||||
class _LocalAIOnBoarding extends StatelessWidget {
|
class _LocalAIOnBoarding extends StatelessWidget {
|
||||||
const _LocalAIOnBoarding({required this.workspaceId});
|
const _LocalAIOnBoarding({required this.workspaceId});
|
||||||
final String workspaceId;
|
final String workspaceId;
|
||||||
|
@ -212,6 +212,7 @@ class _SettingsBillingViewState extends State<SettingsBillingView> {
|
|||||||
|
|
||||||
// Currently, the AI Local tile is only available on macOS
|
// Currently, the AI Local tile is only available on macOS
|
||||||
// TODO(nathan): enable windows and linux
|
// TODO(nathan): enable windows and linux
|
||||||
|
// TODO(nathan): enable local ai
|
||||||
// if (Platform.isMacOS)
|
// if (Platform.isMacOS)
|
||||||
// _AITile(
|
// _AITile(
|
||||||
// plan: SubscriptionPlanPB.AiLocal,
|
// plan: SubscriptionPlanPB.AiLocal,
|
||||||
|
@ -139,6 +139,7 @@ class _SettingsPlanViewState extends State<SettingsPlanView> {
|
|||||||
|
|
||||||
// Currently, the AI Local tile is only available on macOS
|
// Currently, the AI Local tile is only available on macOS
|
||||||
// TODO(nathan): enable windows and linux
|
// TODO(nathan): enable windows and linux
|
||||||
|
// TODO(nathan): enable local ai
|
||||||
// if (Platform.isMacOS)
|
// if (Platform.isMacOS)
|
||||||
// Flexible(
|
// Flexible(
|
||||||
// child: _AddOnBox(
|
// child: _AddOnBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user