mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-25 07:37:13 +09:00
commit
16520c7b4c
@ -51,9 +51,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (settings) {
|
||||
if (settings.device.lang) lang = settings.device.lang;
|
||||
}
|
||||
if (settings &&
|
||||
settings.device.lang &&
|
||||
LANGS.includes(settings.device.lang))
|
||||
lang = settings.device.lang;
|
||||
//#endregion
|
||||
|
||||
// Detect the user agent
|
||||
|
Loading…
Reference in New Issue
Block a user