mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix small sticker alpha blur (iOS 17)
This commit is contained in:
parent
736e070503
commit
c29cd1bbba
3 changed files with 14 additions and 1 deletions
|
|
@ -387,6 +387,9 @@ public func chatMessageStickerPackThumbnail(postbox: Postbox, resource: MediaRes
|
|||
|
||||
public func chatMessageSticker(postbox: Postbox, userLocation: MediaResourceUserLocation, file: TelegramMediaFile, small: Bool, fetched: Bool = false, onlyFullSize: Bool = false, thumbnail: Bool = false, synchronousLoad: Bool = false, colorSpace: CGColorSpace? = nil) -> Signal<(TransformImageArguments) -> DrawingContext?, NoError> {
|
||||
let signal: Signal<Tuple3<Data?, Data?, Bool>, NoError>
|
||||
|
||||
let thumbnail = "".isEmpty
|
||||
|
||||
if thumbnail {
|
||||
signal = chatMessageStickerThumbnailData(postbox: postbox, userLocation: userLocation, file: file, synchronousLoad: synchronousLoad)
|
||||
|> map { data -> Tuple3<Data?, Data?, Bool>in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue