From d2098e26acc5306094be87d4bc6d5a75d66d4c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CGoktug?= <“goktug.poyraz@consensys.net”> Date: Fri, 10 Mar 2023 13:22:51 +0100 Subject: [PATCH] fix: fix theme issues of desktop pairing page --- shared/lib/error-utils.js | 4 +- .../desktop-pairing.test.js.snap | 246 +++++++++--------- .../desktop-pairing.component.js | 132 +++++----- ui/pages/desktop-pairing/index.scss | 111 +------- 4 files changed, 206 insertions(+), 287 deletions(-) diff --git a/shared/lib/error-utils.js b/shared/lib/error-utils.js index d5f5feb3f..b04a2f72a 100644 --- a/shared/lib/error-utils.js +++ b/shared/lib/error-utils.js @@ -126,7 +126,9 @@ function disableDesktop(backgroundConnection) { } export function downloadDesktopApp() { - global.platform.openTab({ url: 'https://metamask.io/' }); + global.platform.openTab({ + url: 'https://github.com/MetaMask/metamask-desktop/releases', + }); } export function downloadExtension() { diff --git a/ui/pages/desktop-pairing/__snapshots__/desktop-pairing.test.js.snap b/ui/pages/desktop-pairing/__snapshots__/desktop-pairing.test.js.snap index dcead5fb5..c3a42d035 100644 --- a/ui/pages/desktop-pairing/__snapshots__/desktop-pairing.test.js.snap +++ b/ui/pages/desktop-pairing/__snapshots__/desktop-pairing.test.js.snap @@ -3,139 +3,134 @@ exports[`Desktop Pairing page should render otp component 1`] = `
+ Open your MetaMask Desktop and type this code +
- 123456 -
-@@ -149,15 +144,16 @@ exports[`Desktop Pairing page should render otp component 1`] = `
-+ If the pairing is successful, extension will restart and you'll have to re-enter your password. +