1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Fix lint issues

This commit is contained in:
bitpshr 2018-10-17 18:43:51 -04:00 committed by Dan Finlay
parent 84874a639d
commit 504f4a50f1

View File

@ -29,8 +29,10 @@ class ProviderApprovalController {
break break
case 'init-unlock-request': case 'init-unlock-request':
this.handleUnlockRequest() this.handleUnlockRequest()
break
case 'init-privacy-request': case 'init-privacy-request':
this.handlePrivacyStatusRequest() this.handlePrivacyStatusRequest()
break
} }
}) })
} }
@ -59,7 +61,7 @@ class ProviderApprovalController {
this.platform && this.platform.sendMessage({ action: 'answer-status-request', isEnabled }, { active: true }) this.platform && this.platform.sendMessage({ action: 'answer-status-request', isEnabled }, { active: true })
} }
handleUnlockRequest() { handleUnlockRequest () {
const isUnlocked = this.keyringController.memStore.getState().isUnlocked const isUnlocked = this.keyringController.memStore.getState().isUnlocked
this.platform && this.platform.sendMessage({ action: 'answer-unlock-request', isUnlocked }, { active: true }) this.platform && this.platform.sendMessage({ action: 'answer-unlock-request', isUnlocked }, { active: true })
} }