|
|
|
|
@ -49,12 +49,11 @@ class _SplashScreenState extends State<SplashPage> {
|
|
|
|
|
Timer(Duration(seconds: 2, milliseconds: 500), () async {
|
|
|
|
|
LocalNotification.init(onNotificationClick: (payload) {});
|
|
|
|
|
|
|
|
|
|
// if (await Utils.getBoolFromPrefs(CacheConst.firstLaunch)) {
|
|
|
|
|
// Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: OnboardingScreen())));
|
|
|
|
|
// } else {
|
|
|
|
|
// Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LandingNavigation())));
|
|
|
|
|
// }
|
|
|
|
|
Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LabOrdersPage())));
|
|
|
|
|
if (await Utils.getBoolFromPrefs(CacheConst.firstLaunch)) {
|
|
|
|
|
Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: OnboardingScreen())));
|
|
|
|
|
} else {
|
|
|
|
|
Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LandingNavigation())));
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
var zoom = ZoomVideoSdk();
|
|
|
|
|
InitConfig initConfig = InitConfig(
|
|
|
|
|
|