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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user