From b12ad56cc14e070d95c82a1992e6efd2eb0803c0 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 12 Jul 2024 19:02:23 +0600 Subject: [PATCH] web/LanguageAutoToggle: update preferred language variable name --- web/src/components/settings/LanguageAutoToggle.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/settings/LanguageAutoToggle.svelte b/web/src/components/settings/LanguageAutoToggle.svelte index c992feca..0de00d62 100644 --- a/web/src/components/settings/LanguageAutoToggle.svelte +++ b/web/src/components/settings/LanguageAutoToggle.svelte @@ -10,7 +10,7 @@ const updateLocale = () => { if ($settings.appearance.autoLanguage) { - $locale = device.preferredLocale; + $locale = device.prefers.language; } else { $locale = $settings.appearance.language; }