aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-15 08:49:16 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-15 08:49:16 +0800
commit7de6b12aad4a674bdbb0749d2e61d9fd5f69c536 (patch)
tree1e4165b6c4fb220dd399a8bdf245bc7c5396b92b /app/scripts/metamask-controller.js
parent92edc63d6e4d1e80e530f26596a9b91d305600c4 (diff)
downloadtangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.gz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.bz2
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.lz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.xz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.zst
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.zip
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 83220b7b2..3d6c0eb50 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -278,7 +278,7 @@ module.exports = class MetamaskController {
agreeToDisclaimer (cb) {
try {
- this.configManager.setConfirmed(true)
+ this.configManager.setConfirmedDisclaimer(true)
cb()
} catch (e) {
cb(e)
@@ -287,7 +287,7 @@ module.exports = class MetamaskController {
resetDisclaimer () {
try {
- this.configManager.setConfirmed(false)
+ this.configManager.setConfirmedDisclaimer(false)
} catch (e) {
console.error(e)
}