mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +00:00
Fixed text color in badges from giveaway message stickers.
This commit is contained in:
parent
3d8396e586
commit
15a834b883
@ -562,7 +562,7 @@ void StickerWithBadgePart::paintBadge(
|
||||
void StickerWithBadgePart::validateBadge(
|
||||
const PaintContext &context) const {
|
||||
const auto stm = context.messageStyle();
|
||||
const auto &badgeFg = stm->historyFileRadialFg->c;
|
||||
const auto &badgeFg = st::premiumButtonFg->c;
|
||||
const auto &badgeBorder = stm->msgBg->c;
|
||||
if (!_badge.isNull()
|
||||
&& _badgeFg == badgeFg
|
||||
|
Loading…
x
Reference in New Issue
Block a user