From 72bd0d31e2612fb251cd4894e2abf85f0dc0d797 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 16 Jul 2022 18:44:24 +0200 Subject: [PATCH] Various fixes --- submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift | 2 +- submodules/TelegramUI/Sources/ChatController.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift b/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift index 51ddf3bf24..ac2a4bf7e8 100644 --- a/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift +++ b/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift @@ -1009,7 +1009,7 @@ private final class StickerPackContainer: ASDisplayNode { let layout = ItemLayout(width: fillingWidth, itemsCount: stickerPack.1.count, hasTitle: true) packsHeight += layout.height } - contentHeight = packsHeight + contentHeight = packsHeight + 8.0 } else if let (info, items, _) = self.currentStickerPack { if info.id.namespace == Namespaces.ItemCollection.CloudEmojiPacks { let layout = ItemLayout(width: fillingWidth, itemsCount: items.count, hasTitle: false) diff --git a/submodules/TelegramUI/Sources/ChatController.swift b/submodules/TelegramUI/Sources/ChatController.swift index 47c422d6e8..a266da6424 100644 --- a/submodules/TelegramUI/Sources/ChatController.swift +++ b/submodules/TelegramUI/Sources/ChatController.swift @@ -1100,6 +1100,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G } if !emojiFileIds.isEmpty { tip = .animatedEmoji(text: nil, arguments: nil, file: nil, action: nil) + actions.tip = tip disableTransitionAnimations = true actionsSignal = .single(actions)