aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-15 08:49:16 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-15 08:49:16 +0800
commit7de6b12aad4a674bdbb0749d2e61d9fd5f69c536 (patch)
tree1e4165b6c4fb220dd399a8bdf245bc7c5396b92b /ui/app/app.js
parent92edc63d6e4d1e80e530f26596a9b91d305600c4 (diff)
downloadtangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.gz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.bz2
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.lz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.xz
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.tar.zst
tangerine-wallet-browser-7de6b12aad4a674bdbb0749d2e61d9fd5f69c536.zip
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index abe609eca..977392c57 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -39,7 +39,7 @@ function mapStateToProps (state) {
return {
// state from plugin
isLoading: state.appState.isLoading,
- isConfirmed: state.metamask.isConfirmed,
+ isDisclaimerConfirmed: state.metamask.isDisclaimerConfirmed,
isInitialized: state.metamask.isInitialized,
isUnlocked: state.metamask.isUnlocked,
currentView: state.appState.currentView,
@@ -323,7 +323,7 @@ App.prototype.renderBackButton = function (style, justArrow = false) {
App.prototype.renderBackToInitButton = function () {
var props = this.props
var button = null
- if (!props.isConfirmed) return button
+ if (!props.isDisclaimerConfirmed) return button
if (!props.isUnlocked) {
if (props.currentView.name === 'InitMenu') {
@@ -356,7 +356,7 @@ App.prototype.renderBackToInitButton = function () {
App.prototype.renderPrimary = function () {
var props = this.props
- if (!props.isConfirmed) {
+ if (!props.isDisclaimerConfirmed) {
return h(DisclaimerScreen, {key: 'disclaimerScreen'})
}