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

Merge pull request #7093 from MetaMask/allow-dismissing-privacy-mode-from-popup

Allow dismissing privacy mode from popup
This commit is contained in:
Dan Finlay 2019-09-03 09:59:34 -07:00 committed by GitHub
commit 361a19a850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"