|
|
@ -28,12 +28,7 @@ UnlockScreen.prototype.render = function () { |
|
|
|
const state = this.props |
|
|
|
const state = this.props |
|
|
|
const warning = state.warning |
|
|
|
const warning = state.warning |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
h('.flex-column', { |
|
|
|
h('.unlock-screen', [ |
|
|
|
style: { |
|
|
|
|
|
|
|
width: 'inherit', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, [ |
|
|
|
|
|
|
|
h('.unlock-screen.flex-column.flex-center.flex-grow', [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h(Mascot, { |
|
|
|
h(Mascot, { |
|
|
|
animationEventEmitter: this.animationEventEmitter, |
|
|
|
animationEventEmitter: this.animationEventEmitter, |
|
|
@ -72,9 +67,7 @@ UnlockScreen.prototype.render = function () { |
|
|
|
margin: 10, |
|
|
|
margin: 10, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, 'Log In'), |
|
|
|
}, 'Log In'), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('.flex-row.flex-center.flex-grow', [ |
|
|
|
|
|
|
|
h('p.pointer', { |
|
|
|
h('p.pointer', { |
|
|
|
onClick: () => { |
|
|
|
onClick: () => { |
|
|
|
this.props.dispatch(actions.markPasswordForgotten()) |
|
|
|
this.props.dispatch(actions.markPasswordForgotten()) |
|
|
@ -88,9 +81,7 @@ UnlockScreen.prototype.render = function () { |
|
|
|
textDecoration: 'underline', |
|
|
|
textDecoration: 'underline', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, 'Restore from seed phrase'), |
|
|
|
}, 'Restore from seed phrase'), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('.flex-row.flex-center.flex-grow', [ |
|
|
|
|
|
|
|
h('p.pointer', { |
|
|
|
h('p.pointer', { |
|
|
|
onClick: () => { |
|
|
|
onClick: () => { |
|
|
|
this.props.dispatch(actions.setFeatureFlag('betaUI', false, 'OLD_UI_NOTIFICATION_MODAL')) |
|
|
|
this.props.dispatch(actions.setFeatureFlag('betaUI', false, 'OLD_UI_NOTIFICATION_MODAL')) |
|
|
@ -103,8 +94,6 @@ UnlockScreen.prototype.render = function () { |
|
|
|
marginTop: '32px', |
|
|
|
marginTop: '32px', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, 'Use classic interface'), |
|
|
|
}, 'Use classic interface'), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]) |
|
|
|
]) |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|