Remove extra error handling

This commit is contained in:
M 2022-03-31 14:00:31 +01:00
parent 5c78fd01a8
commit 524dbb3e2a

View file

@ -113,17 +113,6 @@ Future<void> main() async {
unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(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(),
nodes: nodes,