forked from eatvio/eatvio_app
fix: black screen after splash
This commit is contained in:
@@ -19,7 +19,6 @@ void main() async {
|
||||
WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
|
||||
FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);
|
||||
await di.init();
|
||||
await Future.delayed(Duration(seconds: 1), () => FlutterNativeSplash.remove());
|
||||
runApp(MyApp());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user