|
|
|
|
@ -48,7 +48,7 @@ class _SplashScreenState extends State<SplashPage> {
|
|
|
|
|
Timer(Duration(seconds: 2, milliseconds: 500), () async {
|
|
|
|
|
LocalNotification.init(onNotificationClick: (payload) {});
|
|
|
|
|
|
|
|
|
|
if (!await Utils.getBoolFromPrefs(CacheConst.firstLaunch)) {
|
|
|
|
|
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())));
|
|
|
|
|
|