From 65c84ac4b2a8a4355bff63690d34e52a4a45a561 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 9 Feb 2017 18:17:50 -0800 Subject: Delete all code related to disclaimers. --- app/scripts/lib/config-manager.js | 22 ---------------------- app/scripts/lib/idStore.js | 2 -- 2 files changed, 24 deletions(-) (limited to 'app/scripts/lib') 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 - -- cgit v1.2.3