Restore background async in ListView

This commit is contained in:
Ali
2022-01-15 18:16:07 +04:00
parent d6f2d959a0
commit a5bea5b54d
3 changed files with 10 additions and 7 deletions

View File

@@ -1255,14 +1255,14 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
var hasReadReports = false
if let channel = peer as? TelegramChannel {
if case .group = channel.info {
if let cachedData = cachedData as? CachedChannelData, let memberCount = cachedData.participantsSummary.memberCount, memberCount <= 50 {
if canViewStats {
hasReadReports = true
}
} else {
reactionCount = 0
}
} else if let group = peer as? TelegramGroup {
if group.participantCount <= 50 {
} else if let _ = peer as? TelegramGroup {
if canViewStats {
hasReadReports = true
}
} else {