mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
fix stickers [skip ci]
This commit is contained in:
parent
dc4eed539e
commit
52fc9d0531
@ -39,7 +39,7 @@ func cacheStickerPack(transaction: Transaction, info: StickerPackCollectionInfo,
|
||||
public func cachedStickerPack(postbox: Postbox, network: Network, reference: StickerPackReference, forceRemote: Bool) -> Signal<CachedStickerPackResult, NoError> {
|
||||
return postbox.transaction { transaction -> CachedStickerPackResult? in
|
||||
if let (info, items, local) = cachedStickerPack(transaction: transaction, reference: reference) {
|
||||
if local {
|
||||
if local && !forceRemote {
|
||||
return .result(info, items, true)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user