Fix duplicate launch screen and native splash exit flashing
This commit is contained in:
@@ -34,14 +34,12 @@ Future<void> main() async {
|
||||
AndroidCalendarService(MethodCalendarGateway()),
|
||||
DateTime.now,
|
||||
);
|
||||
runApp(
|
||||
TpStartup(
|
||||
ready: controller.initialize(),
|
||||
child: buildApplication(
|
||||
controller,
|
||||
notificationSelection: selection,
|
||||
school: SchoolSession(),
|
||||
),
|
||||
await launchApplication(
|
||||
ready: controller.initialize(),
|
||||
child: buildApplication(
|
||||
controller,
|
||||
notificationSelection: selection,
|
||||
school: SchoolSession(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user