aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/unlock.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-02-08 08:38:55 +0800
committerGitHub <noreply@github.com>2018-02-08 08:38:55 +0800
commit7f151b861cc3a565d3feefc50b3be25ab4490ac8 (patch)
tree4b0ec57e7fb316ff835748e0cabda8c2012b6345 /ui/app/unlock.js
parent9db0a32dac81ad071f3c15651ce5fb830d2ddf4a (diff)
downloadtangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.gz
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.bz2
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.lz
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.xz
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.zst
tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.zip
[NewUI] Opens to full screen when restoring from seed. (#3201)
* Opens to full screen when restoring from seed. * Remove redundant parameter in actions.markPasswordForgotten call.
Diffstat (limited to 'ui/app/unlock.js')
-rw-r--r--ui/app/unlock.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/unlock.js b/ui/app/unlock.js
index ec97b03bf..e77d17d7b 100644
--- a/ui/app/unlock.js
+++ b/ui/app/unlock.js
@@ -74,7 +74,10 @@ UnlockScreen.prototype.render = function () {
h('.flex-row.flex-center.flex-grow', [
h('p.pointer', {
- onClick: () => this.props.dispatch(actions.forgotPassword()),
+ onClick: () => {
+ this.props.dispatch(actions.markPasswordForgotten())
+ global.platform.openExtensionInBrowser()
+ },
style: {
fontSize: '0.8em',
color: 'rgb(247, 134, 28)',