2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Initial starref setup section implementation.

This commit is contained in:
John Preston
2024-11-28 11:39:05 +04:00
parent a6bfd35f1a
commit 1e15764bb9
17 changed files with 896 additions and 21 deletions

View File

@@ -138,6 +138,10 @@ TopBar::TopBar(
_dollar = ScaleTo(QImage(u":/gui/art/business_logo.png"_q));
_ministars.setColorOverride(
QGradientStops{{ 0, st::premiumButtonFg->c }});
} else if (_logo == u"affiliate"_q) {
_dollar = ScaleTo(QImage(u":/gui/art/affiliate_logo.png"_q));
_ministars.setColorOverride(
QGradientStops{{ 0, st::premiumButtonFg->c }});
} else if (!_light && !TopBarAbstract::isDark()) {
_star.load(Svg());
_ministars.setColorOverride(