mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Input node improvements
This commit is contained in:
@@ -454,7 +454,7 @@ final class ChatMediaInputStickerGridItemNode: GridItemNode {
|
||||
func updatePreviewing(animated: Bool) {
|
||||
var isPreviewing = false
|
||||
if let (_, item, _) = self.currentState, let interaction = self.inputNodeInteraction {
|
||||
isPreviewing = interaction.previewedStickerPackItem == .pack(item)
|
||||
isPreviewing = interaction.previewedStickerPackItem == .pack(item.file)
|
||||
}
|
||||
if self.currentIsPreviewing != isPreviewing {
|
||||
self.currentIsPreviewing = isPreviewing
|
||||
|
||||
Reference in New Issue
Block a user