mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix mediabox fetch
This commit is contained in:
@@ -104,6 +104,11 @@ private final class PrefetchManagerInnerImpl {
|
||||
}
|
||||
|
||||
private func updateOrderedPreloadMedia(_ items: [PrefetchMediaItem], automaticDownloadSettings: MediaAutoDownloadSettings, networkType: MediaAutoDownloadNetworkType) {
|
||||
#if DEBUG
|
||||
if "".isEmpty {
|
||||
return
|
||||
}
|
||||
#endif
|
||||
var validIds = Set<MediaId>()
|
||||
var order: Int32 = 0
|
||||
for mediaItem in items {
|
||||
|
||||
Reference in New Issue
Block a user