diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 055831e3b..8d93737b8 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -12,7 +12,7 @@ import PremiumFeatureContainer from '../../ui/PremiumFeatureContainer'; | |||
12 | import Input from '../../ui/Input'; | 12 | import Input from '../../ui/Input'; |
13 | 13 | ||
14 | import { FRANZ_TRANSLATION } from '../../../config'; | 14 | import { FRANZ_TRANSLATION } from '../../../config'; |
15 | import { isMac } from '../../../environment'; | 15 | import { isMac, isWindows } from '../../../environment'; |
16 | 16 | ||
17 | const { | 17 | const { |
18 | systemPreferences, | 18 | systemPreferences, |
@@ -405,8 +405,8 @@ export default @observer class EditSettingsForm extends Component { | |||
405 | 405 | ||
406 | <Hr /> | 406 | <Hr /> |
407 | 407 | ||
408 | {isMac && <Toggle field={form.$('adaptableDarkMode')} />} | 408 | {(isMac || isWindows) && <Toggle field={form.$('adaptableDarkMode')} />} |
409 | {!(isMac && isAdaptableDarkModeEnabled) && <Toggle field={form.$('darkMode')} />} | 409 | {!((isMac || isWindows) && isAdaptableDarkModeEnabled) && <Toggle field={form.$('darkMode')} />} |
410 | {(isDarkmodeEnabled || isAdaptableDarkModeEnabled) && ( | 410 | {(isDarkmodeEnabled || isAdaptableDarkModeEnabled) && ( |
411 | <> | 411 | <> |
412 | <Toggle field={form.$('universalDarkMode')} /> | 412 | <Toggle field={form.$('universalDarkMode')} /> |
@@ -530,9 +530,11 @@ export default @observer class EditSettingsForm extends Component { | |||
530 | 530 | ||
531 | <span className="mdi mdi-github-face" /> | 531 | <span className="mdi mdi-github-face" /> |
532 | <span> | 532 | <span> |
533 | |||
533 | Ferdi is based on | 534 | Ferdi is based on |
534 | {' '} | 535 | {' '} |
535 | <a href="https://github.com/meetfranz/franz" target="_blank">Franz</a> | 536 | <a href="https://github.com/meetfranz/franz" target="_blank">Franz</a> |
537 | |||
536 | , a project published | 538 | , a project published |
537 | under the | 539 | under the |
538 | {' '} | 540 | {' '} |