Skip to content

Commit

Permalink
tweak: check for share-qr-types that support headers
Browse files Browse the repository at this point in the history
  • Loading branch information
seanstrom committed Apr 29, 2024
1 parent e93ba75 commit 6870f48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/quo/components/share/share_qr_code/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@
(defn- has-header?
[share-qr-type]
(case share-qr-type
(:profile :channel) false
true))
(:wallet
:watched-address
:saved-address) true
false))

(defn- share-qr-code
[{:keys [share-qr-type qr-image-uri component-width customization-color full-name
Expand Down

0 comments on commit 6870f48

Please sign in to comment.