mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-12-25 22:20:20 +00:00
merge latest master
This commit is contained in:
@@ -244,9 +244,6 @@ const mixin = {
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
theme() {
|
||||
return this.getPreferenceString("theme", "dark");
|
||||
},
|
||||
authenticated(_this) {
|
||||
return _this.getAuthToken() !== undefined;
|
||||
},
|
||||
@@ -262,7 +259,7 @@ const mixin = {
|
||||
const languages = window.navigator.languages;
|
||||
for (let i = 0; i < languages.length; i++) {
|
||||
try {
|
||||
await import("./locales/" + languages[i] + ".json");
|
||||
await import(`./locales/${languages[i]}.json`);
|
||||
return languages[i];
|
||||
} catch {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user