Skip to content

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.

chore: disable supabase

nathan5ceb132b0b39
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_cloud.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_cloud.dart
index 3e3e376df4..8ba18e1d92 100644
--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_cloud.dart
+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_cloud.dart
@@ -117,13 +117,14 @@ class CloudTypeSwitcher extends StatelessWidget {
Widget build(BuildContext context) {
final isDevelopMode = integrationMode().isDevelop;
// Only show the appflowyCloudDevelop in develop mode
- final values = AuthenticatorType.values
- .where(
- (element) =>
- isDevelopMode ||
- element != AuthenticatorType.appflowyCloudDevelop,
- )
- .toList();
+ final values = AuthenticatorType.values.where((element) {
+ // Supabase will going to be removed in the future
+ if (element == AuthenticatorType.supabase) {
+ return false;
+ }
+
+ return isDevelopMode || element != AuthenticatorType.appflowyCloudDevelop;
+ }).toList();
return PlatformExtension.isDesktopOrWeb
? AppFlowyPopover(
direction: PopoverDirection.bottomWithRightAligned,