diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-11 05:12:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 05:12:24 +0800 |
commit | 65f50ec7eeb40237084d99c737a2b768edbc578a (patch) | |
tree | 635de9094fc24e56bb22c00c033a544b1b06bed3 /app/scripts/lib | |
parent | 01e43c789c29668dafb718aa68d9eee76788298b (diff) | |
parent | 8f72748732dcb4f5835a745a41f85c4105ed256d (diff) | |
download | tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar.gz tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar.bz2 tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar.lz tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar.xz tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.tar.zst tangerine-wallet-browser-65f50ec7eeb40237084d99c737a2b768edbc578a.zip |
Merge pull request #1108 from MetaMask/disclaimer-notify
Integrate disclaimer with notification system
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/config-manager.js | 22 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
2 files changed, 0 insertions, 24 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index 7ae2d4400..6267eab68 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -228,28 +228,6 @@ ConfigManager.prototype._emitUpdates = function (state) { }) } -ConfigManager.prototype.setConfirmedDisclaimer = function (confirmed) { - var data = this.getData() - data.isDisclaimerConfirmed = confirmed - this.setData(data) -} - -ConfigManager.prototype.getConfirmedDisclaimer = function () { - var data = this.getData() - return data.isDisclaimerConfirmed -} - -ConfigManager.prototype.setTOSHash = function (hash) { - var data = this.getData() - data.TOSHash = hash - this.setData(data) -} - -ConfigManager.prototype.getTOSHash = function () { - var data = this.getData() - return data.TOSHash -} - ConfigManager.prototype.getGasMultiplier = function () { var data = this.getData() return data.gasMultiplier diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 1afe5f651..7a6968c6c 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -94,7 +94,6 @@ IdentityStore.prototype.getState = function () { isInitialized: !!configManager.getWallet() && !seedWords, isUnlocked: this._isUnlocked(), seedWords: seedWords, - isDisclaimerConfirmed: configManager.getConfirmedDisclaimer(), selectedAddress: configManager.getSelectedAccount(), gasMultiplier: configManager.getGasMultiplier(), })) @@ -343,4 +342,3 @@ IdentityStore.prototype._autoFaucet = function () { } // util - |