fix: Sentry and small null fix

This commit is contained in:
Sorunome 2020-10-28 18:13:04 +01:00
commit e9f3aa37dd
3 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,8 @@ import 'views/chat_list.dart';
void main() {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(statusBarColor: Colors.transparent));
FlutterError.onError = (FlutterErrorDetails details) =>
Zone.current.handleUncaughtError(details.exception, details.stack);
runZonedGuarded(
() => runApp(App()),
SentryController.captureException,