Remove extra error handling

M committed Mar 31, 2022 at 14:00 UTC 524dbb3e2a00d9f72789a5027b8fbf881220cad7
1 file changed -11
lib/main.dart
-11
@@ -112,17 +112,6 @@ Future<void> main() async {
112 if (!isMoneroOnly) {
113 unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
114 }
115 -
116 - FlutterError.onError = (FlutterErrorDetails details) {
117 - runApp(MaterialApp(
118 - debugShowCheckedModeBanner: true,
119 - home: Scaffold(
120 - body: Container(
121 - margin: EdgeInsets.only(top: 50, left: 20, right: 20, bottom: 20),
122 - child: Text(
123 - 'Error:\n${details.stack.toString()}',
124 - style: TextStyle(fontSize: 22))))));
125 - };
115
116 await initialSetup(
117 sharedPreferences: await SharedPreferences.getInstance(),