Various fixes

This commit is contained in:
Ilya Laktyushin 2022-07-16 18:44:24 +02:00
parent 21b9ee462b
commit 72bd0d31e2
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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)