diff options
Diffstat (limited to 'src/containers/settings')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/containers/settings/EditSettingsScreen.tsx b/src/containers/settings/EditSettingsScreen.tsx index b9732ead0..8190bef3e 100644 --- a/src/containers/settings/EditSettingsScreen.tsx +++ b/src/containers/settings/EditSettingsScreen.tsx | |||
@@ -255,6 +255,10 @@ const messages = defineMessages({ | |||
255 | id: 'settings.app.form.hideSettingsButton', | 255 | id: 'settings.app.form.hideSettingsButton', |
256 | defaultMessage: 'Hide Settings button', | 256 | defaultMessage: 'Hide Settings button', |
257 | }, | 257 | }, |
258 | hideDownloadButton: { | ||
259 | id: 'settings.app.form.hideDownloadButton', | ||
260 | defaultMessage: 'Hide Downloads button', | ||
261 | }, | ||
258 | alwaysShowWorkspaces: { | 262 | alwaysShowWorkspaces: { |
259 | id: 'settings.app.form.alwaysShowWorkspaces', | 263 | id: 'settings.app.form.alwaysShowWorkspaces', |
260 | defaultMessage: 'Always show workspace drawer', | 264 | defaultMessage: 'Always show workspace drawer', |
@@ -425,6 +429,7 @@ class EditSettingsScreen extends Component< | |||
425 | hideWorkspacesButton: Boolean(settingsData.hideWorkspacesButton), | 429 | hideWorkspacesButton: Boolean(settingsData.hideWorkspacesButton), |
426 | hideNotificationsButton: Boolean(settingsData.hideNotificationsButton), | 430 | hideNotificationsButton: Boolean(settingsData.hideNotificationsButton), |
427 | hideSettingsButton: Boolean(settingsData.hideSettingsButton), | 431 | hideSettingsButton: Boolean(settingsData.hideSettingsButton), |
432 | hideDownloadButton: Boolean(settingsData.hideDownloadButton), | ||
428 | alwaysShowWorkspaces: Boolean(settingsData.alwaysShowWorkspaces), | 433 | alwaysShowWorkspaces: Boolean(settingsData.alwaysShowWorkspaces), |
429 | accentColor: settingsData.accentColor, | 434 | accentColor: settingsData.accentColor, |
430 | progressbarAccentColor: settingsData.progressbarAccentColor, | 435 | progressbarAccentColor: settingsData.progressbarAccentColor, |
@@ -1081,6 +1086,15 @@ class EditSettingsScreen extends Component< | |||
1081 | default: DEFAULT_APP_SETTINGS.hideSettingsButton, | 1086 | default: DEFAULT_APP_SETTINGS.hideSettingsButton, |
1082 | type: 'checkbox', | 1087 | type: 'checkbox', |
1083 | }, | 1088 | }, |
1089 | hideDownloadButton: { | ||
1090 | label: intl.formatMessage(messages.hideDownloadButton), | ||
1091 | value: ifUndefined<boolean>( | ||
1092 | settings.all.app.hideDownloadButton, | ||
1093 | DEFAULT_APP_SETTINGS.hideDownloadButton, | ||
1094 | ), | ||
1095 | default: DEFAULT_APP_SETTINGS.hideDownloadButton, | ||
1096 | type: 'checkbox', | ||
1097 | }, | ||
1084 | alwaysShowWorkspaces: { | 1098 | alwaysShowWorkspaces: { |
1085 | label: intl.formatMessage(messages.alwaysShowWorkspaces), | 1099 | label: intl.formatMessage(messages.alwaysShowWorkspaces), |
1086 | value: ifUndefined<boolean>( | 1100 | value: ifUndefined<boolean>( |