mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix football dice emoji
This commit is contained in:
parent
8d1f30a0b0
commit
a0e2a91e3a
@ -228,7 +228,7 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
|
||||
}
|
||||
|
||||
if let telegramDice = self.telegramDice {
|
||||
let animationNode = ManagedDiceAnimationNode(context: item.context, emoji: telegramDice.emoji)
|
||||
let animationNode = ManagedDiceAnimationNode(context: item.context, emoji: telegramDice.emoji.strippedEmoji)
|
||||
if !item.message.effectivelyIncoming(item.context.account.peerId) {
|
||||
animationNode.success = { [weak self] in
|
||||
if let strongSelf = self, let item = strongSelf.item {
|
||||
|
@ -72,7 +72,7 @@ private func rollingAnimationItem(account: Account, emojis: Signal<[TelegramMedi
|
||||
return .single(ManagedAnimationItem(source: .local("Darts_Aiming"), loop: true))
|
||||
case "🏀":
|
||||
return .single(ManagedAnimationItem(source: .local("Basketball_Bouncing"), loop: true))
|
||||
case "⚽️":
|
||||
case "⚽":
|
||||
return .single(ManagedAnimationItem(source: .local("Football_Bouncing"), loop: true))
|
||||
default:
|
||||
return animationItem(account: account, emojis: emojis, emoji: emoji, value: nil, loop: true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user