Play trending panel stickers (while searching)

This commit is contained in:
Ali 2021-06-17 19:32:52 +04:00
parent 02e1cc66cb
commit 780a978021

View File

@ -338,6 +338,7 @@ final class ChatMediaInputTrendingPane: ChatMediaInputPane {
openSearch: { [weak self] in
self?.inputNodeInteraction?.toggleSearch(true, .trending, "")
})
interaction.itemContext.canPlayMedia = true
let isPane = self.isPane
let previousEntries = Atomic<[TrendingPaneEntry]?>(value: nil)