This commit is contained in:
Ali
2023-06-20 16:58:52 +03:00
parent 13d2dd15df
commit 13c6cf58c8
24 changed files with 372 additions and 36 deletions

View File

@@ -19,6 +19,7 @@ import UndoUI
import TelegramNotices
import Markdown
import TextFormat
import ChatMessageForwardInfoNode
struct ChatMessageInstantVideoItemLayoutResult {
let contentSize: CGSize
@@ -399,7 +400,7 @@ class ChatMessageInteractiveInstantVideoNode: ASDisplayNode {
}
}
let availableWidth = max(60.0, availableContentWidth - 210.0 + 6.0)
forwardInfoSizeApply = makeForwardInfoLayout(item.presentationData, item.presentationData.strings, .standalone, forwardSource, forwardAuthorSignature, forwardPsaType, false, CGSize(width: availableWidth, height: CGFloat.greatestFiniteMagnitude))
forwardInfoSizeApply = makeForwardInfoLayout(item.presentationData, item.presentationData.strings, .standalone, forwardSource, forwardAuthorSignature, forwardPsaType, nil, CGSize(width: availableWidth, height: CGFloat.greatestFiniteMagnitude))
}
var notConsumed = false