mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
web/LanguageAutoToggle: update preferred language variable name
This commit is contained in:
parent
d27bed7add
commit
b12ad56cc1
|
@ -10,7 +10,7 @@
|
|||
|
||||
const updateLocale = () => {
|
||||
if ($settings.appearance.autoLanguage) {
|
||||
$locale = device.preferredLocale;
|
||||
$locale = device.prefers.language;
|
||||
} else {
|
||||
$locale = $settings.appearance.language;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue