aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index dd4ab3629..3116677c2 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -127,7 +127,6 @@ export default class AppStore extends Store {
127 this.isFullScreen = false; 127 this.isFullScreen = false;
128 }); 128 });
129 129
130
131 this.isOnline = navigator.onLine; 130 this.isOnline = navigator.onLine;
132 131
133 // Check if Ferdi should launch on start 132 // Check if Ferdi should launch on start
@@ -474,7 +473,6 @@ export default class AppStore extends Store {
474 locale = this.stores.user.data.locale; 473 locale = this.stores.user.data.locale;
475 } 474 }
476 475
477
478 if (locale && Object.prototype.hasOwnProperty.call(locales, locale) && locale !== this.locale) { 476 if (locale && Object.prototype.hasOwnProperty.call(locales, locale) && locale !== this.locale) {
479 this.locale = locale; 477 this.locale = locale;
480 } else if (!locale) { 478 } else if (!locale) {