diff options
author | 2018-03-28 15:12:14 +0200 | |
---|---|---|
committer | 2018-03-28 15:12:14 +0200 | |
commit | 199f6763c946a044a28077cf8aa131f29af83868 (patch) | |
tree | 6743fae240e7b36cd68789267ca23877f3ac6f0a /src/containers | |
parent | mini cleanup (diff) | |
download | ferdium-app-199f6763c946a044a28077cf8aa131f29af83868.tar.gz ferdium-app-199f6763c946a044a28077cf8aa131f29af83868.tar.zst ferdium-app-199f6763c946a044a28077cf8aa131f29af83868.zip |
feature(App): Add option to disable GPU acceleration
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 1bd147099..018ce663f 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -51,6 +51,10 @@ const messages = defineMessages({ | |||
51 | id: 'settings.app.form.enableSpellchecking', | 51 | id: 'settings.app.form.enableSpellchecking', |
52 | defaultMessage: '!!!Enable spell checking', | 52 | defaultMessage: '!!!Enable spell checking', |
53 | }, | 53 | }, |
54 | enableGPUAcceleration: { | ||
55 | id: 'settings.app.form.enableGPUAcceleration', | ||
56 | defaultMessage: '!!!Enable GPU Acceleration', | ||
57 | }, | ||
54 | spellcheckingLanguage: { | 58 | spellcheckingLanguage: { |
55 | id: 'settings.app.form.spellcheckingLanguage', | 59 | id: 'settings.app.form.spellcheckingLanguage', |
56 | defaultMessage: '!!!Language for spell checking', | 60 | defaultMessage: '!!!Language for spell checking', |
@@ -85,6 +89,7 @@ export default class EditSettingsScreen extends Component { | |||
85 | runInBackground: settingsData.runInBackground, | 89 | runInBackground: settingsData.runInBackground, |
86 | enableSystemTray: settingsData.enableSystemTray, | 90 | enableSystemTray: settingsData.enableSystemTray, |
87 | minimizeToSystemTray: settingsData.minimizeToSystemTray, | 91 | minimizeToSystemTray: settingsData.minimizeToSystemTray, |
92 | enableGPUAcceleration: settingsData.enableGPUAcceleration, | ||
88 | showDisabledServices: settingsData.showDisabledServices, | 93 | showDisabledServices: settingsData.showDisabledServices, |
89 | showMessageBadgeWhenMuted: settingsData.showMessageBadgeWhenMuted, | 94 | showMessageBadgeWhenMuted: settingsData.showMessageBadgeWhenMuted, |
90 | enableSpellchecking: settingsData.enableSpellchecking, | 95 | enableSpellchecking: settingsData.enableSpellchecking, |
@@ -155,6 +160,11 @@ export default class EditSettingsScreen extends Component { | |||
155 | value: settings.all.app.enableSpellchecking, | 160 | value: settings.all.app.enableSpellchecking, |
156 | default: DEFAULT_APP_SETTINGS.enableSpellchecking, | 161 | default: DEFAULT_APP_SETTINGS.enableSpellchecking, |
157 | }, | 162 | }, |
163 | enableGPUAcceleration: { | ||
164 | label: intl.formatMessage(messages.enableGPUAcceleration), | ||
165 | value: settings.all.app.enableGPUAcceleration, | ||
166 | default: DEFAULT_APP_SETTINGS.enableGPUAcceleration, | ||
167 | }, | ||
158 | locale: { | 168 | locale: { |
159 | label: intl.formatMessage(messages.language), | 169 | label: intl.formatMessage(messages.language), |
160 | value: app.locale, | 170 | value: app.locale, |