mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
@@ -44,6 +44,7 @@ private final class FrameSequenceThumbnailNode: ASDisplayNode {
|
||||
|
||||
init(
|
||||
context: AccountContext,
|
||||
userLocation: MediaResourceUserLocation,
|
||||
file: FileMediaReference
|
||||
) {
|
||||
self.context = context
|
||||
@@ -72,6 +73,8 @@ private final class FrameSequenceThumbnailNode: ASDisplayNode {
|
||||
|
||||
let source = UniversalSoftwareVideoSource(
|
||||
mediaBox: self.context.account.postbox.mediaBox,
|
||||
userLocation: userLocation,
|
||||
userContentType: .gif,
|
||||
fileReference: self.file,
|
||||
automaticallyFetchHeader: true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user