Port away from deprecated runZoned

This commit is contained in:
Vishesh Handa
2020-05-08 10:54:26 +02:00
parent b2d0cf44ab
commit 0023346e60

View File

@ -32,7 +32,7 @@ void main() async {
await reportError(isolateError.first, isolateError.last);
}).sendPort);
runZoned<Future<void>>(() async {
runZonedGuarded(() async {
await JournalApp.main(pref);
}, onError: reportError);
}, reportError);
}