Skip to content

Commit 2e39b1c

Browse files
author
Isaac
committed
Fix dimension clipping
1 parent bc54ab6 commit 2e39b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

submodules/LegacyMediaPickerUI/Sources/LegacyMediaPickers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,9 @@ public func legacyAssetPickerEnqueueMessages(context: AccountContext, account: A
784784
finalDuration = duration
785785
}
786786

787-
if !asAnimation {
787+
/*if !asAnimation {
788788
finalDimensions = TGFitSize(finalDimensions, CGSize(width: 848.0, height: 848.0))
789-
}
789+
}*/
790790

791791
var previewRepresentations: [TelegramMediaImageRepresentation] = []
792792
if let thumbnail = thumbnail {

0 commit comments

Comments
 (0)