feat: added colors to AreWeAntiCheatYet badges

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

@ -1492,7 +1492,7 @@ class MainWindow(QMainWindow):
icon_size=16,
icon_space=3,
)
anticheatLabel.setStyleSheet(self.theme.STEAM_BADGE_STYLE)
anticheatLabel.setStyleSheet(self.theme.get_anticheat_badge_style(anticheat_status))
anticheatLabel.setFixedWidth(badge_width)
anticheatLabel.clicked.connect(lambda: QDesktopServices.openUrl(QUrl(f"https://areweanticheatyet.com/game/{name.lower().replace(' ', '-')}")))
anticheat_visible = True