diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-01-31 01:14:30 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-05 20:19:55 +0800 |
commit | f3a7054f6b25a43b55bb6bda77b084171d611d12 (patch) | |
tree | bd657661a3f107666f67c40b6b448b8210f8c7b7 /app | |
parent | c52ba96b85998f34bfb034f801556f4c89b8b6ba (diff) | |
download | tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar.gz tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar.bz2 tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar.lz tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar.xz tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.tar.zst tangerine-wallet-browser-f3a7054f6b25a43b55bb6bda77b084171d611d12.zip |
Add announcement for users migrated to the new UI
Diffstat (limited to 'app')
-rw-r--r-- | app/_locales/en/messages.json | 3 | ||||
-rw-r--r-- | app/scripts/controllers/preferences.js | 2 | ||||
-rw-r--r-- | app/scripts/metamask-controller.js | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 33e72cd83..c1692ce5e 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -1437,6 +1437,9 @@ "typePassword": { "message": "Type your MetaMask password" }, + "uiMigrationAnnouncement": { + "message": "Welcome to the new MetaMask UI. If you have feedback about the UI or feature requests, please reach out to our support team or on GitHub." + }, "uiWelcome": { "message": "Welcome to the New UI (Beta)" }, diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index c0716cc42..565f4f292 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -44,7 +44,7 @@ class PreferencesController { useNativeCurrencyAsPrimaryCurrency: true, }, completedOnboarding: false, - completedUiMigration: false, + completedUiMigration: true, }, opts.initState) this.diagnostics = opts.diagnostics diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 942c6a62e..16ab34c7d 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -426,6 +426,7 @@ module.exports = class MetamaskController extends EventEmitter { setAccountLabel: nodeify(preferencesController.setAccountLabel, preferencesController), setFeatureFlag: nodeify(preferencesController.setFeatureFlag, preferencesController), setPreference: nodeify(preferencesController.setPreference, preferencesController), + completeUiMigration: nodeify(preferencesController.completeUiMigration, preferencesController), completeOnboarding: nodeify(preferencesController.completeOnboarding, preferencesController), addKnownMethodData: nodeify(preferencesController.addKnownMethodData, preferencesController), |