From eb2827402a1bccf1b938306099770b17e6483496 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Wed, 8 Jan 2025 05:12:57 +0200 Subject: [PATCH] revert beta testers change --- lib/entities/default_settings_migration.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/entities/default_settings_migration.dart b/lib/entities/default_settings_migration.dart index 90e32d982..abcdda4c0 100644 --- a/lib/entities/default_settings_migration.dart +++ b/lib/entities/default_settings_migration.dart @@ -70,13 +70,8 @@ Future defaultSettingsMigration( await sharedPreferences.setBool(PreferencesKey.isNewInstall, isNewInstall); - int currentVersion = + final currentVersion = sharedPreferences.getInt(PreferencesKey.currentDefaultSettingsMigrationVersion) ?? 0; - // TODO: remove after v4.22.1 is live - /// for beta testers who didn't correctly get the 46 step configured - if (currentVersion == 46) { - currentVersion--; - } if (currentVersion >= version) { return;