mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
Added pause to animation of custom emoji in status info.
This commit is contained in:
parent
5fb002ab4c
commit
15bcfeec1d
1 changed files with 3 additions and 0 deletions
|
@ -308,6 +308,9 @@ void ContactStatus::Bar::showState(
|
|||
_emojiStatusInfo->entity()->overrideLinkClickHandler([=] {
|
||||
_emojiStatusClicks.fire({});
|
||||
});
|
||||
_emojiStatusInfo->entity()->setAnimationsPausedCallback([] {
|
||||
return Ui::FlatLabel::WhichAnimationsPaused::CustomEmoji;
|
||||
});
|
||||
}
|
||||
_emojiStatusInfo->setVisible(has);
|
||||
_add->setText((type == Type::Add)
|
||||
|
|
Loading…
Add table
Reference in a new issue