change getAntiCheatIconFilename
Some checks failed
Code and build check / Check code (pull_request) Failing after 1m11s
Code and build check / Build with uv (pull_request) Successful in 45s

This commit is contained in:
2025-06-13 11:11:32 +07:00
parent 120f2a5590
commit 0c7cb0092b

View File

@ -323,9 +323,9 @@ class GameCard(QFrame):
def getAntiCheatIconFilename(status: str) -> str:
status = status.lower()
if status in ("supported", "running"):
return "platinum-gold"
return "ac_supported"
elif status in ("denied", "planned", "broken"):
return "broken"
return "ac_broken"
return ""
@staticmethod