fix: sync qr code not visible (#18944)

This commit is contained in:
frank 2024-02-23 10:15:35 +08:00 committed by GitHub
parent 5d00c09597
commit 4469717cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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