fix: add missing else block.

This commit is contained in:
Aunali321 2022-10-16 23:43:33 +05:30
parent f31a60d9bb
commit fbd4359d61

View file

@ -31,11 +31,12 @@ Future main() async {
options: DefaultFirebaseOptions.currentPlatform,
);
Firebase.app().setAutomaticDataCollectionEnabled(true);
}
} else {
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
Firebase.app().setAutomaticDataCollectionEnabled(false);
}
locator<GithubAPI>().initialize();
await locator<PatcherAPI>().initialize();
tz.initializeTimeZones();