Skip to content

Commit c57aa07

Browse files
author
Isaac
committed
Fit more text
1 parent a39987a commit c57aa07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

submodules/TelegramUI/Components/Chat/ChatQrCodeScreen/Sources/ChatQrCodeScreen.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,9 @@ private class QrContentNode: ASDisplayNode, ContentNode {
19401940
imageSide = 220.0
19411941

19421942
if size.width > 375.0 {
1943-
if textLength > 12 {
1943+
if textLength > 18 {
1944+
fontSize = 16.0
1945+
} else if textLength > 12 {
19441946
fontSize = 22.0
19451947
} else {
19461948
fontSize = 24.0

0 commit comments

Comments
 (0)