From f81687b03a87a88988d4cce8110d015b046a7436 Mon Sep 17 00:00:00 2001
From: André Oliveira <37463445+SpecialAro@users.noreply.github.com>
Date: Tue, 21 Jun 2022 15:45:07 +0100
Subject: Fix reload after resume and add idle time setting (#324)
* Fix reload after resume issue
* Add idle time option
---
src/components/settings/settings/EditSettingsForm.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'src/components/settings')
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 {
updateButtonLabelMessage = messages.buttonSearchForUpdate;
}
- const { lockingFeatureEnabled, scheduledDNDEnabled } =
+ const { lockingFeatureEnabled, scheduledDNDEnabled, reloadAfterResume } =
window['ferdium'].stores.settings.all.app;
let cacheSize;
@@ -439,6 +439,11 @@ class EditSettingsForm extends Component {