aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-01 20:49:44 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-01 20:49:44 +0100
commit56f6da6b7c38dcd30e982e0007db919d8c1ba048 (patch)
tree4e2028e1cf7cf4707fb1e472386dcf94159352e0 /src/stores/AppStore.js
parentBump version to beta 19 (diff)
downloadferdium-app-56f6da6b7c38dcd30e982e0007db919d8c1ba048.tar.gz
ferdium-app-56f6da6b7c38dcd30e982e0007db919d8c1ba048.tar.zst
ferdium-app-56f6da6b7c38dcd30e982e0007db919d8c1ba048.zip
Remove unnecessary code
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 45335c488..6f156a96d 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -326,31 +326,6 @@ export default class AppStore extends Store {
326 defaultLocale, 326 defaultLocale,
327 fallbackLocale: DEFAULT_APP_SETTINGS.fallbackLocale, 327 fallbackLocale: DEFAULT_APP_SETTINGS.fallbackLocale,
328 }); 328 });
329
330 // if (locales[locale] === undefined) {
331 // let localeFuzzy;
332 // Object.keys(locales).forEach((localStr) => {
333 // if (locales && Object.hasOwnProperty.call(locales, localStr)) {
334 // if (locale.substring(0, 2) === localStr.substring(0, 2)) {
335 // localeFuzzy = localStr;
336 // }
337 // }
338 // });
339
340 // if (localeFuzzy !== undefined) {
341 // locale = localeFuzzy;
342 // }
343 // }
344
345 // if (locales[locale] === undefined) {
346 // locale = defaultLocale;
347 // }
348
349 // if (!locale) {
350 // locale = DEFAULT_APP_SETTINGS.fallbackLocale;
351 // }
352
353 // return locale;
354 } 329 }
355 330
356 _muteAppHandler() { 331 _muteAppHandler() {