mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 09:07:47 +01:00
fix: add missing else block.
This commit is contained in:
parent
f31a60d9bb
commit
fbd4359d61
1 changed files with 5 additions and 4 deletions
|
@ -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(
|
await Firebase.initializeApp(
|
||||||
options: DefaultFirebaseOptions.currentPlatform,
|
options: DefaultFirebaseOptions.currentPlatform,
|
||||||
);
|
);
|
||||||
Firebase.app().setAutomaticDataCollectionEnabled(false);
|
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 a new issue