From a8695116e212be8e7fbf6f4048596fe4f8c76462 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Mon, 15 Apr 2024 15:24:09 +0530 Subject: [PATCH] fix error is shown after scan button is tapped on the browser page (#19601) --- src/legacy/status_im/ui/screens/browser/views.cljs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/legacy/status_im/ui/screens/browser/views.cljs b/src/legacy/status_im/ui/screens/browser/views.cljs index 4eb06b3e3b..b1d1ebdf8b 100644 --- a/src/legacy/status_im/ui/screens/browser/views.cljs +++ b/src/legacy/status_im/ui/screens/browser/views.cljs @@ -2,7 +2,6 @@ (:require [legacy.status-im.browser.core :as browser] [legacy.status-im.browser.webview-ref :as webview-ref] - [legacy.status-im.qr-scanner.core :as qr-scanner] [legacy.status-im.ui.components.chat-icon.screen :as chat-icon] [legacy.status-im.ui.components.colors :as colors] [legacy.status-im.ui.components.connectivity.view :as connectivity] @@ -105,9 +104,7 @@ (if empty-tab [react/touchable-highlight {:accessibility-label :universal-qr-scanner - :on-press #(re-frame/dispatch - [::qr-scanner/scan-code - {:handler ::qr-scanner/on-scan-success}])} + :on-press #(re-frame/dispatch [:open-modal :shell-qr-reader])} [icons/icon :main-icons/qr {:color colors/black}]] [react/touchable-highlight {:on-press #(re-frame/dispatch