Album artwork from ID3 tags

Instant View improvements
This commit is contained in:
Ilya Laktyushin
2018-11-17 12:32:30 +04:00
parent 9bd9327502
commit c5c90f76d4
37 changed files with 618 additions and 411 deletions

View File

@@ -98,8 +98,6 @@ func chatHistoryEntriesForView(location: ChatLocation, view: MessageHistoryView,
}
if let cachedPeerData = cachedPeerData as? CachedUserData, let botInfo = cachedPeerData.botInfo, !botInfo.description.isEmpty {
entries.insert(.ChatInfoEntry(botInfo.description, presentationData), at: 0)
} else if view.entries.isEmpty && includeEmptyEntry {
//entries.insert(.EmptyChatInfoEntry(presentationData.theme, presentationData.strings, view.tagMask), at: 0)
}
}
} else if includeSearchEntry {