mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-25 03:56:01 +00:00
This commit is contained in:
parent
55005f8b39
commit
eb2827402a
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue