aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/recover-seed/confirmation.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-03 08:11:12 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-03 08:11:12 +0800
commit10fec9052f2cd200868de25217bdaa4646fa0913 (patch)
treeddf77b54eb4bf313eceef367b3b99ce08e9b625e /ui/app/recover-seed/confirmation.js
parent07617dbb075bc0d98725e1116bc936aabda65486 (diff)
downloadtangerine-wallet-browser-10fec9052f2cd200868de25217bdaa4646fa0913.tar.gz
tangerine-wallet-browser-10fec9052f2cd200868de25217bdaa4646fa0913.tar.zst
tangerine-wallet-browser-10fec9052f2cd200868de25217bdaa4646fa0913.zip
A couple seed recovery enhancements
- The seed words are no longer stored on `state.appState.currentView.context`, which caused view glitches since it was shared with other views' data. - The confirmation text warning color is now the same as other error messages'.
Diffstat (limited to 'ui/app/recover-seed/confirmation.js')
-rw-r--r--ui/app/recover-seed/confirmation.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/recover-seed/confirmation.js b/ui/app/recover-seed/confirmation.js
index c7a99ad00..0276d547d 100644
--- a/ui/app/recover-seed/confirmation.js
+++ b/ui/app/recover-seed/confirmation.js
@@ -65,10 +65,9 @@ RevealSeedConfirmatoin.prototype.render = function() {
},
}),
- h('h4', {
+ h(`h4${state && state.confirmationWrong ? '.error' : ''}`, {
style: {
marginTop: '12px',
- color: state && state.confirmationWrong ? 'red' : 'black',
}
}, `Enter the phrase "I understand" to proceed.`),