mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/LanguageAutoToggle: update preferred language variable name
This commit is contained in:
parent
d27bed7add
commit
b12ad56cc1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
const updateLocale = () => {
|
const updateLocale = () => {
|
||||||
if ($settings.appearance.autoLanguage) {
|
if ($settings.appearance.autoLanguage) {
|
||||||
$locale = device.preferredLocale;
|
$locale = device.prefers.language;
|
||||||
} else {
|
} else {
|
||||||
$locale = $settings.appearance.language;
|
$locale = $settings.appearance.language;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue