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:
parent
0fd8862c5e
commit
f9871fe60b
@ -83,6 +83,7 @@ module.exports = class AppBar extends Component {
|
|||||||
h('span.banner__link', {
|
h('span.banner__link', {
|
||||||
async onClick () {
|
async onClick () {
|
||||||
await dispatch(actions.setFeatureFlag('betaUI', true))
|
await dispatch(actions.setFeatureFlag('betaUI', true))
|
||||||
|
global.platform.openExtensionInBrowser()
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
'Now',
|
'Now',
|
||||||
|
@ -20,6 +20,7 @@ module.exports = class NewUiAnnouncement extends PureComponent {
|
|||||||
enabled,
|
enabled,
|
||||||
))
|
))
|
||||||
await this.close()
|
await this.close()
|
||||||
|
global.platform.openExtensionInBrowser()
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user