mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various improvements
This commit is contained in:
parent
44fab3078a
commit
45b1306274
33 changed files with 158 additions and 117 deletions
|
|
@ -3903,7 +3903,9 @@ public final class ChatHistoryListNodeImpl: ListView, ChatHistoryNode, ChatHisto
|
|||
loadState = .messages
|
||||
} else if let historyView = strongSelf.historyView {
|
||||
if historyView.filteredEntries.isEmpty {
|
||||
if let firstEntry = historyView.originalView.entries.first {
|
||||
if historyView.originalView.isLoading {
|
||||
loadState = .loading(false)
|
||||
} else if let firstEntry = historyView.originalView.entries.first {
|
||||
var emptyType = ChatHistoryNodeLoadState.EmptyType.generic
|
||||
for media in firstEntry.message.media {
|
||||
if let action = media as? TelegramMediaAction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue