aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-05-04 05:10:26 +0800
committerThomas <thomas.b.huang@gmail.com>2018-05-04 05:10:26 +0800
commitf900821a425ce97695034b3445effe1bbaf4a9a5 (patch)
treef426762d58f31b3c527491e7e8ba25dd11936f3a /app/scripts/lib/config-manager.js
parent9bba97a676b47667abdd7b020cebd56a0f3b96c7 (diff)
parent096851d091385ee786ab1374e83aaf6a1aa7cbce (diff)
downloadtangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar.gz
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar.bz2
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar.lz
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar.xz
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.tar.zst
tangerine-wallet-browser-f900821a425ce97695034b3445effe1bbaf4a9a5.zip
Merge branch 'develop' 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 = {