From 5ceb132b0b39c18eee0b3c6a4b4ee6fc399b3de4 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 5 Apr 2024 13:58:40 +0800 Subject: [PATCH] chore: disable supabase --- .../settings/widgets/setting_cloud.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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,