diff options
author | Anton Tananaev <anton@traccar.org> | 2023-08-26 17:40:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-08-26 17:40:59 -0700 |
commit | 778d626e5ca58f62b75ef070c5c347afa89a6de4 (patch) | |
tree | afc2821805ddd65bfb24b65cbd60cc4239eee3c9 /modern/src/common/attributes/useServerAttributes.js | |
parent | e5d05451febf482f1192b2a4ba49b9275e236722 (diff) | |
download | trackermap-web-778d626e5ca58f62b75ef070c5c347afa89a6de4.tar.gz trackermap-web-778d626e5ca58f62b75ef070c5c347afa89a6de4.tar.bz2 trackermap-web-778d626e5ca58f62b75ef070c5c347afa89a6de4.zip |
Dark mode support (fix #1129)
Diffstat (limited to 'modern/src/common/attributes/useServerAttributes.js')
-rw-r--r-- | modern/src/common/attributes/useServerAttributes.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useServerAttributes.js b/modern/src/common/attributes/useServerAttributes.js index 74749991..5cce479e 100644 --- a/modern/src/common/attributes/useServerAttributes.js +++ b/modern/src/common/attributes/useServerAttributes.js @@ -31,6 +31,10 @@ export default (t) => useMemo(() => ({ name: t('serverChangeDisable'), type: 'boolean', }, + darkMode: { + name: t('settingsDarkMode'), + type: 'boolean', + }, 'ui.disableLoginLanguage': { name: t('attributeUiDisableLoginLanguage'), type: 'boolean', |