1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01: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', {