mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge commit 'b77b6fb670ab9a4fd68dcd6cbf51522496f17e9d' into beta
# Conflicts: # submodules/TelegramUI/Components/Chat/ChatMessageBubbleItemNode/Sources/ChatMessageBubbleItemNode.swift
This commit is contained in:
commit
835278b9dc
@ -2195,7 +2195,7 @@ public class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewI
|
||||
|
||||
if let viaSuffix {
|
||||
let (viaLayout, _) = viaMeasureLayout(TextNodeLayoutArguments(attributedString: viaSuffix, backgroundColor: nil, maximumNumberOfLines: 1, truncationType: .end, constrainedSize: CGSize(width: max(0, maximumNodeWidth - layoutConstants.text.bubbleInsets.left - layoutConstants.text.bubbleInsets.right - credibilityIconWidth - adminBadgeSizeAndApply.0.size.width - closeButtonWidth), height: CGFloat.greatestFiniteMagnitude), alignment: .natural, cutout: nil, insets: UIEdgeInsets()))
|
||||
viaWidth = viaLayout.size.width + 4.0
|
||||
viaWidth = viaLayout.size.width + 3.0
|
||||
}
|
||||
|
||||
nameNodeOriginY = headerSize.height
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"app": "10.2.5",
|
||||
"app": "10.3",
|
||||
"bazel": "6.4.0",
|
||||
"xcode": "15.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user