From 7bf86a094e51a56fc4902e8836ef8f0bbd107a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20=C5=81ucka?= Date: Thu, 13 Aug 2020 15:39:29 +0200 Subject: [PATCH 1/2] fix etherscan redirect on notification click --- app/scripts/platforms/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index f62ef98e4fda..73948afcc142 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -223,7 +223,7 @@ export default class ExtensionPlatform { } _viewOnEtherscan (txId) { - if (txId.startsWith('http://')) { + if (txId.startsWith('http://') || txId.startsWith('https://')) { extension.tabs.create({ url: txId }) } } From f0f848e5e8d36cc2ec89faf9e5908174d63d7b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20=C5=81ucka?= Date: Thu, 13 Aug 2020 17:59:15 +0200 Subject: [PATCH 2/2] Update app/scripts/platforms/extension.js Co-authored-by: Whymarrh Whitby --- app/scripts/platforms/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index 73948afcc142..11340c8cc2ad 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -223,7 +223,7 @@ export default class ExtensionPlatform { } _viewOnEtherscan (txId) { - if (txId.startsWith('http://') || txId.startsWith('https://')) { + if (txId.startsWith('https://')) { extension.tabs.create({ url: txId }) } }