diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-15 08:49:16 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-15 08:49:16 +0800 |
commit | 7de6b12aad4a674bdbb0749d2e61d9fd5f69c536 (patch) | |
tree | 1e4165b6c4fb220dd399a8bdf245bc7c5396b92b /app/scripts/lib | |
parent | 92edc63d6e4d1e80e530f26596a9b91d305600c4 (diff) | |
download | tangerine-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/lib')
-rw-r--r-- | app/scripts/lib/config-manager.js | 8 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index 0c5daa8e6..faf64bfdc 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -313,15 +313,15 @@ ConfigManager.prototype._emitUpdates = function (state) { }) } -ConfigManager.prototype.setConfirmed = function (confirmed) { +ConfigManager.prototype.setConfirmedDisclaimer = function (confirmed) { var data = this.getData() - data.isConfirmed = confirmed + data.isDisclaimerConfirmed = confirmed this.setData(data) } -ConfigManager.prototype.getConfirmed = function () { +ConfigManager.prototype.getConfirmedDisclaimer = function () { var data = this.getData() - return ('isConfirmed' in data) && data.isConfirmed + return ('isDisclaimerConfirmed' in data) && data.isDisclaimerConfirmed } ConfigManager.prototype.setTOSHash = function (hash) { diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 2a46b1b5d..31895b9bc 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -102,7 +102,7 @@ IdentityStore.prototype.getState = function () { isInitialized: !!configManager.getWallet() && !seedWords, isUnlocked: this._isUnlocked(), seedWords: seedWords, - isConfirmed: configManager.getConfirmed(), + isDisclaimerConfirmed: configManager.getConfirmedDisclaimer(), unconfTxs: configManager.unconfirmedTxs(), transactions: configManager.getTxList(), unconfMsgs: messageManager.unconfirmedMsgs(), |