mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: disable supabase
This commit is contained in:
parent
587de161f6
commit
5ceb132b0b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user