feat: added colors to AreWeAntiCheatYet badges
All checks were successful
Code and build check / Check code (push) Successful in 1m20s
Code and build check / Build with uv (push) Successful in 47s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-12 14:37:03 +05:00
parent 84708ed260
commit dbf1340f88
4 changed files with 43 additions and 2 deletions

View File

@ -199,7 +199,7 @@ class GameCard(QFrame):
icon_size=16,
icon_space=3,
)
self.anticheatLabel.setStyleSheet(self.theme.STEAM_BADGE_STYLE)
self.anticheatLabel.setStyleSheet(self.theme.get_anticheat_badge_style(anticheat_status))
self.anticheatLabel.setFixedWidth(int(card_width * 2/3))
anticheat_visible = True
else: