Skip to content

Commit

Permalink
fix analyze error on crashlytics example (firebase#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroikie authored Dec 10, 2019
1 parent 47f0384 commit b13f531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/firebase_crashlytics/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void main() {
// Pass all uncaught errors to Crashlytics.
FlutterError.onError = Crashlytics.instance.recordFlutterError;

runZoned<Future<void>>(() {
runZoned(() {
runApp(MyApp());
}, onError: Crashlytics.instance.recordError);
}
Expand Down

0 comments on commit b13f531

Please sign in to comment.