aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-09-02 06:59:12 +0800
committerMark Stacey <markjstacey@gmail.com>2019-09-02 06:59:12 +0800
commitbbbf68c8df6abeb2e43b9d22c439d1b3146b60ea (patch)
tree1bc468f8d3533b2b4c1925b5d06953d045ce48b6 /ui
parentdaa20b4b63dc0509ac4911ebbb1bf7534e299fd6 (diff)
downloadtangerine-wallet-browser-bbbf68c8df6abeb2e43b9d22c439d1b3146b60ea.tar.gz
tangerine-wallet-browser-bbbf68c8df6abeb2e43b9d22c439d1b3146b60ea.tar.zst
tangerine-wallet-browser-bbbf68c8df6abeb2e43b9d22c439d1b3146b60ea.zip
Allow dismissing the privacy mode notification
The privacy mode notification was not able to be dismissed from the popup UI. It should have been dismissed after clicking "Learn more", but that button opens a new tab first before dismissing the flag. Opening the new tab kills the pop UI process before it has a chance to set that flag, so it never gets set. Re-ordering the handler to set the flag first avoids this problem.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/pages/home/home.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/pages/home/home.component.js b/ui/app/pages/home/home.component.js
index ff7428eff..425c228bf 100644
--- a/ui/app/pages/home/home.component.js
+++ b/ui/app/pages/home/home.component.js
@@ -99,8 +99,8 @@ export default class Home extends PureComponent {
descriptionText={t('privacyModeDefault')}
acceptText={t('learnMore')}
onAccept={() => {
- window.open('https://medium.com/metamask/42549d4870fa', '_blank', 'noopener')
unsetMigratedPrivacyMode()
+ window.open('https://medium.com/metamask/42549d4870fa', '_blank', 'noopener')
}}
key="home-privacyModeDefault"
/>,