diff options
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index f83bc21ad..799ba3f5a 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -282,5 +282,23 @@ export default class SettingsStore extends Store { | |||
282 | 282 | ||
283 | debug('Migrated old todo setting to new custom todo setting'); | 283 | debug('Migrated old todo setting to new custom todo setting'); |
284 | } | 284 | } |
285 | |||
286 | if (!this.all.migration['5.4.4-beta.4-settings']) { | ||
287 | this.actions.settings.update({ | ||
288 | type: 'app', | ||
289 | data: { | ||
290 | automaticUpdates: !(legacySettings.noUpdates), | ||
291 | }, | ||
292 | }); | ||
293 | |||
294 | this.actions.settings.update({ | ||
295 | type: 'migration', | ||
296 | data: { | ||
297 | '5.4.4-beta.4-settings': true, | ||
298 | }, | ||
299 | }); | ||
300 | |||
301 | debug('Migrated updates settings'); | ||
302 | } | ||
285 | } | 303 | } |
286 | } | 304 | } |