From 524dbb3e2a00d9f72789a5027b8fbf881220cad7 Mon Sep 17 00:00:00 2001 From: M Date: Thu, 31 Mar 2022 14:00:31 +0100 Subject: [PATCH] Remove extra error handling --- lib/main.dart | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 4291df9fe..407283f50 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -112,17 +112,6 @@ Future main() async { if (!isMoneroOnly) { unspentCoinsInfoSource = await Hive.openBox(UnspentCoinsInfo.boxName); } - - FlutterError.onError = (FlutterErrorDetails details) { - runApp(MaterialApp( - debugShowCheckedModeBanner: true, - home: Scaffold( - body: Container( - margin: EdgeInsets.only(top: 50, left: 20, right: 20, bottom: 20), - child: Text( - 'Error:\n${details.stack.toString()}', - style: TextStyle(fontSize: 22)))))); - }; await initialSetup( sharedPreferences: await SharedPreferences.getInstance(),