mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Improve greeting sticker preloading
This commit is contained in:
@@ -158,3 +158,8 @@ public protocol FetchManager {
|
||||
func cancelInteractiveFetches(category: FetchManagerCategory, location: FetchManagerLocation, locationKey: FetchManagerLocationKey, resource: MediaResource)
|
||||
func fetchStatus(category: FetchManagerCategory, location: FetchManagerLocation, locationKey: FetchManagerLocationKey, resource: MediaResource) -> Signal<MediaResourceStatus, NoError>
|
||||
}
|
||||
|
||||
public protocol PrefetchManager {
|
||||
var preloadedGreetingSticker: ChatGreetingData { get }
|
||||
func prepareNextGreetingSticker()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user