Merge commit '41bcbd14f0dd7c01d45570fd36ae0ecef1d38530' into beta

This commit is contained in:
Ali
2020-11-30 12:33:36 +04:00
2853 changed files with 1610006 additions and 340493 deletions

View File

@@ -1035,7 +1035,7 @@ final class ChatMessageInteractiveMediaNode: ASDisplayNode, GalleryItemTransitio
badgeContent = .text(inset: 0.0, backgroundColor: messageTheme.mediaDateAndStatusFillColor, foregroundColor: messageTheme.mediaDateAndStatusTextColor, text: string)
}
var animated: Bool = animated
if let updatingMedia = attributes.updatingMedia {
if let updatingMedia = attributes.updatingMedia, case .update = updatingMedia.media {
state = .progress(color: messageTheme.mediaOverlayControlColors.foregroundColor, lineWidth: nil, value: CGFloat(updatingMedia.progress), cancelEnabled: true)
} else if var fetchStatus = self.fetchStatus {
var playerPosition: Int32?