mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix blurred progressive photos
This commit is contained in:
parent
3c3c4f57ae
commit
80126d722c
@ -100,6 +100,10 @@ public func chatMessagePhotoDatas(postbox: Postbox, photoReference: ImageMediaRe
|
||||
switch results[i].0 {
|
||||
case .image:
|
||||
if let data = results[i].1, data.count != 0 {
|
||||
if Int(fullRepresentationSize.width) > 100 && i <= 1 && !isLastSize {
|
||||
continue
|
||||
}
|
||||
|
||||
subscriber.putNext(Tuple4(nil, data, .full, isLastSize))
|
||||
foundData = true
|
||||
if isLastSize {
|
||||
|
Loading…
x
Reference in New Issue
Block a user