aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/SettingsStore.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js
index da63bc972..45c2cbd50 100644
--- a/src/stores/SettingsStore.js
+++ b/src/stores/SettingsStore.js
@@ -250,5 +250,25 @@ export default class SettingsStore extends Store {
250 }, 250 },
251 }); 251 });
252 } 252 }
253
254 if (!this.all.migration['5.4.4-beta.2-settings']) {
255 const {
256 showServiceNavigationBar,
257 } = this.all.app;
258
259 this.actions.settings.update({
260 type: 'app',
261 data: {
262 navigationBarBehaviour: showServiceNavigationBar ? 'custom' : 'never',
263 },
264 });
265
266 this.actions.settings.update({
267 type: 'migration',
268 data: {
269 '5.4.4-beta.2-settings': true,
270 },
271 });
272 }
253 } 273 }
254} 274}