Skip to content

Commit

Permalink
Fix a crash in emoji status set.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 29, 2023
1 parent af0e87c commit 04f040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/ui/effects/emoji_fly_animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ EmojiFlyAnimation::EmojiFlyAnimation(
QRect(
rect.topLeft() + QPoint(skipx, skipy),
QSize(_flySize, _flySize)),
_textColor(),
(_textColor ? _textColor() : st::infoPeerBadge.premiumFg->c),
clip,
crl::now());
if (_areaUpdated || _area.isEmpty()) {
Expand Down

0 comments on commit 04f040c

Please sign in to comment.