mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Move to double duration
This commit is contained in:
@@ -2272,7 +2272,7 @@ private class MessageContentNode: ASDisplayNode, ContentNode {
|
||||
mediaSize = dimensions.aspectFitted(mediaFitSize)
|
||||
mediaFrame = CGRect(origin: CGPoint(x: 3.0, y: 63.0), size: mediaSize)
|
||||
|
||||
mediaDuration = video.duration ?? 0
|
||||
mediaDuration = video.duration.flatMap(Int32.init) ?? 0
|
||||
|
||||
if !wasInitialized {
|
||||
if self.isStatic {
|
||||
|
||||
Reference in New Issue
Block a user