Skip to content

Commit

Permalink
fix: add missing else block.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunali321 committed Oct 16, 2022
1 parent f31a60d commit fbd4359
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
Firebase.app().setAutomaticDataCollectionEnabled(false);
locator<GithubAPI>().initialize();
await locator<PatcherAPI>().initialize();
tz.initializeTimeZones();
Expand Down

0 comments on commit fbd4359

Please sign in to comment.