From 825a429592d6433b9d480bba93db4694c39000fd Mon Sep 17 00:00:00 2001 From: Jamie Caprani Date: Mon, 20 May 2024 11:33:43 +0100 Subject: [PATCH] chore: add share button for universal scanner only --- src/status_im/contexts/shell/qr_reader/view.cljs | 1 + src/status_im/contexts/wallet/common/scan_account/view.cljs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/contexts/shell/qr_reader/view.cljs b/src/status_im/contexts/shell/qr_reader/view.cljs index 076982fad68..a30c1fad863 100644 --- a/src/status_im/contexts/shell/qr_reader/view.cljs +++ b/src/status_im/contexts/shell/qr_reader/view.cljs @@ -118,6 +118,7 @@ (rn/dismiss-keyboard!)) [scan-qr-code/view {:title (i18n/label :t/scan-qr) + :share-button? true :on-success-scan on-qr-code-scanned}]])) (defn view diff --git a/src/status_im/contexts/wallet/common/scan_account/view.cljs b/src/status_im/contexts/wallet/common/scan_account/view.cljs index 052f87d9d38..585fab6e426 100644 --- a/src/status_im/contexts/wallet/common/scan_account/view.cljs +++ b/src/status_im/contexts/wallet/common/scan_account/view.cljs @@ -28,7 +28,6 @@ [scan-qr-code/view {:title (i18n/label :t/scan-qr) :subtitle (i18n/label :t/scan-an-account-qr-code) - :share-button? false :error-message (i18n/label :t/oops-this-qr-does-not-contain-an-address) :validate-fn #(contains-supported-address? %) :on-success-scan (fn [result]