1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Prevent back/login buttons from appearing on the terms of service.

This commit is contained in:
Kevin Serrano 2016-10-07 02:11:03 -07:00
parent 21d1959435
commit 0ecf364c5b
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -330,6 +330,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.isUnlocked) {
if (props.currentView.name === 'InitMenu') {
button = props.forgottenPassword ? h('.flex-row', {