diff --git a/lib/splashPage.dart b/lib/splashPage.dart index bc22dee..3e70742 100644 --- a/lib/splashPage.dart +++ b/lib/splashPage.dart @@ -48,7 +48,7 @@ class _SplashScreenState extends State { 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())));