Fix settings version

This commit is contained in:
tobspr 2020-06-24 19:01:19 +02:00
parent 1fade52c20
commit 15a4e0c580
1 changed files with 2 additions and 1 deletions

View File

@ -481,7 +481,7 @@ export class ApplicationSettings extends ReadWriteProxy {
}
getCurrentVersion() {
return 17;
return 18;
}
/** @param {{settings: SettingsStorage, version: number}} data */
@ -553,6 +553,7 @@ export class ApplicationSettings extends ReadWriteProxy {
data.settings.enableColorBlindHelper = false;
data.version = 17;
}
if (data.version < 18) {
data.settings.rotationByBuilding = true;
data.version = 18;