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) {
|
Widget build(BuildContext context) {
|
||||||
final isDevelopMode = integrationMode().isDevelop;
|
final isDevelopMode = integrationMode().isDevelop;
|
||||||
// Only show the appflowyCloudDevelop in develop mode
|
// Only show the appflowyCloudDevelop in develop mode
|
||||||
final values = AuthenticatorType.values
|
final values = AuthenticatorType.values.where((element) {
|
||||||
.where(
|
// Supabase will going to be removed in the future
|
||||||
(element) =>
|
if (element == AuthenticatorType.supabase) {
|
||||||
isDevelopMode ||
|
return false;
|
||||||
element != AuthenticatorType.appflowyCloudDevelop,
|
}
|
||||||
)
|
|
||||||
.toList();
|
return isDevelopMode || element != AuthenticatorType.appflowyCloudDevelop;
|
||||||
|
}).toList();
|
||||||
return PlatformExtension.isDesktopOrWeb
|
return PlatformExtension.isDesktopOrWeb
|
||||||
? AppFlowyPopover(
|
? AppFlowyPopover(
|
||||||
direction: PopoverDirection.bottomWithRightAligned,
|
direction: PopoverDirection.bottomWithRightAligned,
|
||||||
|
Loading…
Reference in New Issue
Block a user