revert beta testers change
Some checks failed
Cache Dependencies / test (push) Has been cancelled

This commit is contained in:
OmarHatem 2025-01-08 05:12:57 +02:00
parent 55005f8b39
commit eb2827402a

View file

@ -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;