Skip to content

Commit

Permalink
hardcode a lorem picsum :)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed May 10, 2023
1 parent 7141138 commit 63daf19
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/status_im2/contexts/share/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
[react-native.blur :as blur]
[status-im.ui.components.list-selection :as list-selection]
[utils.image-server :as image-server]
[react-native.navigation :as navigation]))
[react-native.navigation :as navigation]
[status-im2.common.resources :as resource]))

(defn header
[]
Expand Down Expand Up @@ -43,10 +44,12 @@
(fn []
;;we need to do this garbage re render else the QR code doesnt render on Android
;; ref : https://github.com/status-im/status-mobile/pull/15528#issuecomment-1504867449
(reset! source-uri (image-server/get-account-qr-image-uri {:key-uid key-uid
:public-key public-pk
:port port
:qr-size qr-size}))
; (reset! source-uri (image-server/get-account-qr-image-uri {:key-uid key-uid
; :public-key public-pk
; :port port
; :qr-size qr-size}))

(reset! source-uri "https://picsum.photos/200/300")
[:<>
[rn/view {:style style/qr-code-container}
[quo/qr-code
Expand Down

0 comments on commit 63daf19

Please sign in to comment.