Skip to content

Commit

Permalink
chore: add share button for universal scanner only
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Son89 committed May 20, 2024
1 parent b94b74d commit 825a429
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/status_im/contexts/shell/qr_reader/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 825a429

Please sign in to comment.