From 7c90d966c1238c126ffc281520095441afe1817b Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Wed, 24 Sep 2025 15:31:44 +0300 Subject: [PATCH] improvement --- lib/splashPage.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())));