aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/provider-approval.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/controllers/provider-approval.js b/app/scripts/controllers/provider-approval.js
index 10b971a73..728361c79 100644
--- a/app/scripts/controllers/provider-approval.js
+++ b/app/scripts/controllers/provider-approval.js
@@ -129,9 +129,8 @@ class ProviderApprovalController {
* @returns {boolean} - True if the origin has been approved
*/
isApproved (origin) {
- const isUnlocked = this.keyringController.memStore.getState().isUnlocked
const privacyMode = this.preferencesController.getFeatureFlags().privacyMode
- return !privacyMode || (isUnlocked && this.approvedOrigins[origin])
+ return !privacyMode || this.approvedOrigins[origin]
}
/**