Skip to content

Commit f14ee93

Browse files
committed
Various fixes
1 parent 3391371 commit f14ee93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

submodules/TelegramUI/Sources/ChatAdPanelNode.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ final class ChatAdPanelNode: ASDisplayNode {
338338
if let imageDimensions {
339339
applyImage = imageNodeLayout(TransformImageArguments(corners: ImageCorners(radius: 3.0), imageSize: imageDimensions.aspectFilled(imageBoundingSize), boundingSize: imageBoundingSize, intrinsicInsets: UIEdgeInsets()))
340340
textRightInset += imageBoundingSize.width + 18.0
341+
} else {
342+
textRightInset = 27.0
341343
}
342344

343345
var mediaUpdated = false

0 commit comments

Comments
 (0)