From 408748bc0e1a2270d6ebdc6ba4577f7145f78331 Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Tue, 4 Feb 2025 15:40:41 +0100 Subject: [PATCH] Bump version --- lib/src/init.dart | 9 +++++---- pubspec.yaml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/src/init.dart b/lib/src/init.dart index a7329d6261..d1fbb6bcf0 100644 --- a/lib/src/init.dart +++ b/lib/src/init.dart @@ -32,10 +32,11 @@ Future setupFirstLaunch() async { final appVersion = Version.parse(pInfo.version); final installedVersion = prefs.getString('installed_version'); - // TODO remove this migration code after a few releases - if (installedVersion != null && Version.parse(installedVersion) < Version(0, 14, 2)) { + if (installedVersion != null && Version.parse(installedVersion) < Version(0, 14, 0)) { + // TODO remove this migration code after a few releases _migrateThemeSettings(); - _migrateHomePrefs(); + + _resetHomePrefs(); } if (installedVersion == null || Version.parse(installedVersion) != appVersion) { @@ -55,7 +56,7 @@ Future setupFirstLaunch() async { } } -Future _migrateHomePrefs() async { +Future _resetHomePrefs() async { final prefs = LichessBinding.instance.sharedPreferences; try { final stored = prefs.getString(PrefCategory.home.storageKey); diff --git a/pubspec.yaml b/pubspec.yaml index 700b8877dc..c6c49d5e05 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: lichess_mobile description: Lichess mobile app V2 publish_to: "none" -version: 0.14.2+001402 # See README.md for details about versioning +version: 0.14.3+001403 # See README.md for details about versioning environment: sdk: '^3.7.0-209.1.beta'