mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: add missing else block.
This commit is contained in:
parent
f31a60d9bb
commit
fbd4359d61
@ -31,11 +31,12 @@ Future main() async {
|
|||||||
options: DefaultFirebaseOptions.currentPlatform,
|
options: DefaultFirebaseOptions.currentPlatform,
|
||||||
);
|
);
|
||||||
Firebase.app().setAutomaticDataCollectionEnabled(true);
|
Firebase.app().setAutomaticDataCollectionEnabled(true);
|
||||||
|
} else {
|
||||||
|
await Firebase.initializeApp(
|
||||||
|
options: DefaultFirebaseOptions.currentPlatform,
|
||||||
|
);
|
||||||
|
Firebase.app().setAutomaticDataCollectionEnabled(false);
|
||||||
}
|
}
|
||||||
await Firebase.initializeApp(
|
|
||||||
options: DefaultFirebaseOptions.currentPlatform,
|
|
||||||
);
|
|
||||||
Firebase.app().setAutomaticDataCollectionEnabled(false);
|
|
||||||
locator<GithubAPI>().initialize();
|
locator<GithubAPI>().initialize();
|
||||||
await locator<PatcherAPI>().initialize();
|
await locator<PatcherAPI>().initialize();
|
||||||
tz.initializeTimeZones();
|
tz.initializeTimeZones();
|
||||||
|
Loading…
Reference in New Issue
Block a user