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:
parent
21d1959435
commit
0ecf364c5b
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user