aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useServerAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-26 17:40:59 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-26 17:40:59 -0700
commit778d626e5ca58f62b75ef070c5c347afa89a6de4 (patch)
treeafc2821805ddd65bfb24b65cbd60cc4239eee3c9 /modern/src/common/attributes/useServerAttributes.js
parente5d05451febf482f1192b2a4ba49b9275e236722 (diff)
downloadtrackermap-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.js4
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',