aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-05-04 05:38:49 +0800
committerThomas <thomas.b.huang@gmail.com>2018-05-04 05:38:49 +0800
commit025d8e798394fab215a3a41247d4ed2ecf865edd (patch)
tree5a245136f008d335314d772fab84c61038257d40 /app/scripts/lib/config-manager.js
parent1d353c002ddbb636c8291f7e26cf8d8309983e86 (diff)
parent23e1290e27c165e967a4a642980abc7c18d759b1 (diff)
downloadtangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.gz
tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.zst
tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.zip
Merge branch 'e2e-tests' of https://github.com/tmashuang/metamask-extension into e2e-tests
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r--app/scripts/lib/config-manager.js22
1 files changed, 1 insertions, 21 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index c10ff2f4e..221746467 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -101,6 +101,7 @@ ConfigManager.prototype.setShowSeedWords = function (should) {
this.setData(data)
}
+
ConfigManager.prototype.getShouldShowSeedWords = function () {
var data = this.getData()
return data.showSeedWords
@@ -116,27 +117,6 @@ ConfigManager.prototype.getSeedWords = function () {
var data = this.getData()
return data.seedWords
}
-
-/**
- * Called to set the isRevealingSeedWords flag. This happens only when the user chooses to reveal
- * the seed words and not during the first time flow.
- * @param {boolean} reveal - Value to set the isRevealingSeedWords flag.
- */
-ConfigManager.prototype.setIsRevealingSeedWords = function (reveal = false) {
- const data = this.getData()
- data.isRevealingSeedWords = reveal
- this.setData(data)
-}
-
-/**
- * Returns the isRevealingSeedWords flag.
- * @returns {boolean|undefined}
- */
-ConfigManager.prototype.getIsRevealingSeedWords = function () {
- const data = this.getData()
- return data.isRevealingSeedWords
-}
-
ConfigManager.prototype.setRpcTarget = function (rpcUrl) {
var config = this.getConfig()
config.provider = {