diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-10 10:17:50 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-02-10 10:17:50 +0800 |
commit | 65c84ac4b2a8a4355bff63690d34e52a4a45a561 (patch) | |
tree | 69c02a96a370d8444655d0b6b72899ec69d07dfe /app/scripts/lib | |
parent | 1d0fcf129c8bd7174aecccca3acf54ee83215d19 (diff) | |
download | tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.gz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.bz2 tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.lz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.xz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.zst tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.zip |
Delete all code related to disclaimers.
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 - |