mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix animated emoji in bot button icons
This commit is contained in:
parent
ffd82647ee
commit
0eb7d92296
2 changed files with 4 additions and 4 deletions
|
|
@ -164,9 +164,9 @@ private final class ChatButtonKeyboardInputButtonNode: HighlightTrackingButtonNo
|
|||
size: iconSize,
|
||||
placeholderColor: theme.overallDarkAppearance ? UIColor(white: 1.0, alpha: 0.1) : UIColor(white: 0.0, alpha: 0.1),
|
||||
themeColor: theme.list.itemPrimaryTextColor,
|
||||
loopMode: .count(0)
|
||||
loopMode: .forever
|
||||
),
|
||||
isVisibleForAnimations: true,
|
||||
isVisibleForAnimations: context.sharedContext.energyUsageSettings.loopEmoji,
|
||||
action: nil
|
||||
)),
|
||||
environment: {},
|
||||
|
|
|
|||
|
|
@ -558,9 +558,9 @@ private final class ChatMessageActionButtonNode: ASDisplayNode {
|
|||
size: emojiIconSize,
|
||||
placeholderColor: theme.theme.overallDarkAppearance ? UIColor(white: 1.0, alpha: 0.1) : UIColor(white: 0.0, alpha: 0.1),
|
||||
themeColor: titleColor,
|
||||
loopMode: .count(0)
|
||||
loopMode: .forever
|
||||
),
|
||||
isVisibleForAnimations: true,
|
||||
isVisibleForAnimations: context.sharedContext.energyUsageSettings.loopEmoji,
|
||||
action: nil
|
||||
)),
|
||||
environment: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue