diff options
author | 2022-06-21 15:45:07 +0100 | |
---|---|---|
committer | 2022-06-21 15:45:07 +0100 | |
commit | f81687b03a87a88988d4cce8110d015b046a7436 (patch) | |
tree | dcb4f5012979e0184b1c40e6095ca13a56a3eecc /src/components | |
parent | Turn off the progressbar by default (diff) | |
download | ferdium-app-f81687b03a87a88988d4cce8110d015b046a7436.tar.gz ferdium-app-f81687b03a87a88988d4cce8110d015b046a7436.tar.zst ferdium-app-f81687b03a87a88988d4cce8110d015b046a7436.zip |
Fix reload after resume and add idle time setting (#324)
* Fix reload after resume issue
* Add idle time option
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 96ae5a5ed..309be1315 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -308,7 +308,7 @@ class EditSettingsForm extends Component { | |||
308 | updateButtonLabelMessage = messages.buttonSearchForUpdate; | 308 | updateButtonLabelMessage = messages.buttonSearchForUpdate; |
309 | } | 309 | } |
310 | 310 | ||
311 | const { lockingFeatureEnabled, scheduledDNDEnabled } = | 311 | const { lockingFeatureEnabled, scheduledDNDEnabled, reloadAfterResume } = |
312 | window['ferdium'].stores.settings.all.app; | 312 | window['ferdium'].stores.settings.all.app; |
313 | 313 | ||
314 | let cacheSize; | 314 | let cacheSize; |
@@ -439,6 +439,11 @@ class EditSettingsForm extends Component { | |||
439 | <Toggle field={form.$('confirmOnQuit')} /> | 439 | <Toggle field={form.$('confirmOnQuit')} /> |
440 | <Toggle field={form.$('enableSystemTray')} /> | 440 | <Toggle field={form.$('enableSystemTray')} /> |
441 | <Toggle field={form.$('reloadAfterResume')} /> | 441 | <Toggle field={form.$('reloadAfterResume')} /> |
442 | {reloadAfterResume && ( | ||
443 | <div> | ||
444 | <Input field={form.$('reloadAfterResumeTime')} /> | ||
445 | </div> | ||
446 | )} | ||
442 | <Toggle field={form.$('startMinimized')} /> | 447 | <Toggle field={form.$('startMinimized')} /> |
443 | {isWindows && <Toggle field={form.$('minimizeToSystemTray')} />} | 448 | {isWindows && <Toggle field={form.$('minimizeToSystemTray')} />} |
444 | {isWindows && <Toggle field={form.$('closeToSystemTray')} />} | 449 | {isWindows && <Toggle field={form.$('closeToSystemTray')} />} |