fix error is shown after scan button is tapped on the browser page (#19601)
This commit is contained in:
parent
76773a4165
commit
a8695116e2
|
@ -2,7 +2,6 @@
|
||||||
(:require
|
(:require
|
||||||
[legacy.status-im.browser.core :as browser]
|
[legacy.status-im.browser.core :as browser]
|
||||||
[legacy.status-im.browser.webview-ref :as webview-ref]
|
[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.chat-icon.screen :as chat-icon]
|
||||||
[legacy.status-im.ui.components.colors :as colors]
|
[legacy.status-im.ui.components.colors :as colors]
|
||||||
[legacy.status-im.ui.components.connectivity.view :as connectivity]
|
[legacy.status-im.ui.components.connectivity.view :as connectivity]
|
||||||
|
@ -105,9 +104,7 @@
|
||||||
(if empty-tab
|
(if empty-tab
|
||||||
[react/touchable-highlight
|
[react/touchable-highlight
|
||||||
{:accessibility-label :universal-qr-scanner
|
{:accessibility-label :universal-qr-scanner
|
||||||
:on-press #(re-frame/dispatch
|
:on-press #(re-frame/dispatch [:open-modal :shell-qr-reader])}
|
||||||
[::qr-scanner/scan-code
|
|
||||||
{:handler ::qr-scanner/on-scan-success}])}
|
|
||||||
[icons/icon :main-icons/qr {:color colors/black}]]
|
[icons/icon :main-icons/qr {:color colors/black}]]
|
||||||
[react/touchable-highlight
|
[react/touchable-highlight
|
||||||
{:on-press #(re-frame/dispatch
|
{:on-press #(re-frame/dispatch
|
||||||
|
|
Loading…
Reference in New Issue