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