diff --git a/src/status_im/common/qr_codes/view.cljs b/src/status_im/common/qr_codes/view.cljs index c43686db23..e80499a2c2 100644 --- a/src/status_im/common/qr_codes/view.cljs +++ b/src/status_im/common/qr_codes/view.cljs @@ -33,7 +33,7 @@ (let [qr-media-server-uri (image-server/get-qr-image-uri-for-any-url {:url url :port (rf/sub [:mediaserver/port]) - :qr-size (or (int size) 400) + :qr-size (or (and size (int size)) 400) :error-level :highest})] [quo/qr-code (assoc props