From d2799f40b65e2fb55379488e38050d7fae6f8981 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Tue, 3 Sep 2019 14:27:20 -0300 Subject: [PATCH] Allow dismissing privacy mode from popup --- CHANGELOG.md | 1 + ui/app/pages/home/home.component.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1bde3709..f53a2fc1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## 7.1.1 Tue Aug 27 2019 - [#7059](https://github.com/MetaMask/metamask-extension/pull/7059): Remove blockscale, replace with ethgasstation - [#7037](https://github.com/MetaMask/metamask-extension/pull/7037): Remove Babel 6 from internal dependencies +- [#7093](https://github.com/MetaMask/metamask-extension/pull/7093): Allow dismissing privacy mode notification from popup ## 7.1.0 Fri Aug 16 2019 - [#7035](https://github.com/MetaMask/metamask-extension/pull/7035): Filter non-ERC-20 assets during mobile sync (#7035) diff --git a/ui/app/pages/home/home.component.js b/ui/app/pages/home/home.component.js index ff7428eff..0ee9a526f 100644 --- a/ui/app/pages/home/home.component.js +++ b/ui/app/pages/home/home.component.js @@ -99,7 +99,11 @@ export default class Home extends PureComponent { descriptionText={t('privacyModeDefault')} acceptText={t('learnMore')} onAccept={() => { + unsetMigratedPrivacyMode() window.open('https://medium.com/metamask/42549d4870fa', '_blank', 'noopener') + }} + ignoreText={t('dismiss')} + onIgnore={() => { unsetMigratedPrivacyMode() }} key="home-privacyModeDefault"