Fix a crash in emoji status set.

This commit is contained in:
John Preston 2023-10-29 07:09:28 +04:00
parent af0e87c569
commit 04f040c9c5
1 changed files with 1 additions and 1 deletions

View File

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