mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove the unused value in supabase_task (#3157)
This commit is contained in:
parent
29c89013f0
commit
7701533ed2
@ -18,7 +18,6 @@ import '../startup.dart';
|
|||||||
const appflowyDeepLinkSchema = 'appflowy-flutter';
|
const appflowyDeepLinkSchema = 'appflowy-flutter';
|
||||||
const supabaseLoginCallback = '$appflowyDeepLinkSchema://login-callback';
|
const supabaseLoginCallback = '$appflowyDeepLinkSchema://login-callback';
|
||||||
|
|
||||||
bool isSupabaseInitialized = false;
|
|
||||||
const hiveBoxName = 'appflowy_supabase_authentication';
|
const hiveBoxName = 'appflowy_supabase_authentication';
|
||||||
|
|
||||||
// Used to store the session of the supabase in case of the user switch the different folder.
|
// Used to store the session of the supabase in case of the user switch the different folder.
|
||||||
@ -31,10 +30,6 @@ class InitSupabaseTask extends LaunchTask {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isSupabaseInitialized) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// register deep link for Windows
|
// register deep link for Windows
|
||||||
if (Platform.isWindows) {
|
if (Platform.isWindows) {
|
||||||
registerProtocolHandler(appflowyDeepLinkSchema);
|
registerProtocolHandler(appflowyDeepLinkSchema);
|
||||||
|
Loading…
Reference in New Issue
Block a user