From 504f4a50f13b12588576f2f06bb2e371bd966dfb Mon Sep 17 00:00:00 2001 From: bitpshr Date: Wed, 17 Oct 2018 18:43:51 -0400 Subject: Fix lint issues --- app/scripts/controllers/provider-approval.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scripts/controllers/provider-approval.js b/app/scripts/controllers/provider-approval.js index c9680cb46..fa2fb2cf8 100644 --- a/app/scripts/controllers/provider-approval.js +++ b/app/scripts/controllers/provider-approval.js @@ -29,8 +29,10 @@ class ProviderApprovalController { break case 'init-unlock-request': this.handleUnlockRequest() + break case 'init-privacy-request': this.handlePrivacyStatusRequest() + break } }) } @@ -59,7 +61,7 @@ class ProviderApprovalController { this.platform && this.platform.sendMessage({ action: 'answer-status-request', isEnabled }, { active: true }) } - handleUnlockRequest() { + handleUnlockRequest () { const isUnlocked = this.keyringController.memStore.getState().isUnlocked this.platform && this.platform.sendMessage({ action: 'answer-unlock-request', isUnlocked }, { active: true }) } -- cgit v1.2.3