Skip to content

Commit

Permalink
revert beta testers change
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarHatem28 committed Jan 8, 2025
1 parent 55005f8 commit eb28274
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/entities/default_settings_migration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,8 @@ Future<void> 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;
Expand Down

0 comments on commit eb28274

Please sign in to comment.