From 4469717cc13b5c23ba687e085319e36e640e8b2d Mon Sep 17 00:00:00 2001 From: frank Date: Fri, 23 Feb 2024 10:15:35 +0800 Subject: [PATCH] fix: sync qr code not visible (#18944) --- src/status_im/common/qr_codes/view.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/common/qr_codes/view.cljs b/src/status_im/common/qr_codes/view.cljs index c43686db23f..e80499a2c23 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