Merge branches 'master' and 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2022-05-10 19:32:31 +04:00
87 changed files with 942 additions and 867 deletions

View File

@@ -614,7 +614,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
var totalBytes = 0.0
var totalProgressInBytes = 0.0
for (entry, progress) in entries {
var size = 1024 * 1024 * 1024
var size: Int64 = 1024 * 1024 * 1024
if let sizeValue = entry.resourceReference.resource.size {
size = sizeValue
}