diff options
author | 2019-10-29 20:34:19 +0200 | |
---|---|---|
committer | 2019-10-30 10:11:25 +0200 | |
commit | b0e698520f0be4e054b8f3d1feff694d1ddf1779 (patch) | |
tree | 2bf0abfc7017018e04e9d24f1d9dc7e06895e08f /src/containers | |
parent | Update theme information (diff) | |
download | ferdium-app-b0e698520f0be4e054b8f3d1feff694d1ddf1779.tar.gz ferdium-app-b0e698520f0be4e054b8f3d1feff694d1ddf1779.tar.zst ferdium-app-b0e698520f0be4e054b8f3d1feff694d1ddf1779.zip |
Add "adaptable dark mode" checkbox
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index ddee82e45..07efbb881 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -98,6 +98,10 @@ const messages = defineMessages({ | |||
98 | id: 'settings.app.form.darkMode', | 98 | id: 'settings.app.form.darkMode', |
99 | defaultMessage: '!!!Dark Mode', | 99 | defaultMessage: '!!!Dark Mode', |
100 | }, | 100 | }, |
101 | adaptableDarkMode: { | ||
102 | id: 'settings.app.form.adaptableDarkMode', | ||
103 | defaultMessage: '!!!Enable adaptable Dark Mode', | ||
104 | }, | ||
101 | universalDarkMode: { | 105 | universalDarkMode: { |
102 | id: 'settings.app.form.universalDarkMode', | 106 | id: 'settings.app.form.universalDarkMode', |
103 | defaultMessage: '!!!Enable universal Dark Mode', | 107 | defaultMessage: '!!!Enable universal Dark Mode', |
@@ -180,6 +184,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
180 | enableGPUAcceleration: settingsData.enableGPUAcceleration, | 184 | enableGPUAcceleration: settingsData.enableGPUAcceleration, |
181 | showDisabledServices: settingsData.showDisabledServices, | 185 | showDisabledServices: settingsData.showDisabledServices, |
182 | darkMode: settingsData.darkMode, | 186 | darkMode: settingsData.darkMode, |
187 | adaptableDarkMode: settingsData.adaptableDarkMode, | ||
183 | universalDarkMode: settingsData.universalDarkMode, | 188 | universalDarkMode: settingsData.universalDarkMode, |
184 | accentColor: settingsData.accentColor, | 189 | accentColor: settingsData.accentColor, |
185 | showMessageBadgeWhenMuted: settingsData.showMessageBadgeWhenMuted, | 190 | showMessageBadgeWhenMuted: settingsData.showMessageBadgeWhenMuted, |
@@ -350,6 +355,11 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
350 | value: settings.all.app.darkMode, | 355 | value: settings.all.app.darkMode, |
351 | default: DEFAULT_APP_SETTINGS.darkMode, | 356 | default: DEFAULT_APP_SETTINGS.darkMode, |
352 | }, | 357 | }, |
358 | adaptableDarkMode: { | ||
359 | label: intl.formatMessage(messages.adaptableDarkMode), | ||
360 | value: settings.all.app.adaptableDarkMode, | ||
361 | default: DEFAULT_APP_SETTINGS.adaptableDarkMode, | ||
362 | }, | ||
353 | universalDarkMode: { | 363 | universalDarkMode: { |
354 | label: intl.formatMessage(messages.universalDarkMode), | 364 | label: intl.formatMessage(messages.universalDarkMode), |
355 | value: settings.all.app.universalDarkMode, | 365 | value: settings.all.app.universalDarkMode, |