diff --git a/lib/screens/home/home.dart b/lib/screens/home/home.dart index 2e797cd0..ce76080e 100644 --- a/lib/screens/home/home.dart +++ b/lib/screens/home/home.dart @@ -34,7 +34,11 @@ class _HomeState extends State { final currentVersion = packageInfo.version; final storedVersion = prefs.getString('last_shown_version'); - if (storedVersion == null || storedVersion != currentVersion) { + // Extract major.minor version (ignore patch) + final currentMajorMinor = currentVersion.split('.').take(2).join('.'); + final storedMajorMinor = storedVersion?.split('.').take(2).join('.'); + + if (storedMajorMinor == null || storedMajorMinor != currentMajorMinor) { if (!mounted) return; Navigator.push(