1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Open UI in browser post-new-UI-switch

This commit is contained in:
Whymarrh Whitby 2018-07-27 20:09:31 -02:30
parent 0fd8862c5e
commit f9871fe60b
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ module.exports = class AppBar extends Component {
h('span.banner__link', {
async onClick () {
await dispatch(actions.setFeatureFlag('betaUI', true))
global.platform.openExtensionInBrowser()
},
}, [
'Now',

View File

@ -20,6 +20,7 @@ module.exports = class NewUiAnnouncement extends PureComponent {
enabled,
))
await this.close()
global.platform.openExtensionInBrowser()
}
render () {