diff options
author | bitpshr <mail@bitpshr.net> | 2018-10-18 06:43:51 +0800 |
---|---|---|
committer | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-11-06 07:07:09 +0800 |
commit | 504f4a50f13b12588576f2f06bb2e371bd966dfb (patch) | |
tree | d7e2c9b555eb95edbd1a5e750ebc00eb978b3e46 /app | |
parent | 84874a639d217da36926869fa3cb235c05725cf5 (diff) | |
download | tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar.gz tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar.bz2 tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar.lz tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar.xz tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.tar.zst tangerine-wallet-browser-504f4a50f13b12588576f2f06bb2e371bd966dfb.zip |
Fix lint issues
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/provider-approval.js | 4 |
1 files changed, 3 insertions, 1 deletions
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 }) } |