From a1bdff73fe6f031ba1a93fcded3e062f224b2b4a Mon Sep 17 00:00:00 2001
From: dervart <dervart@gmail.com>
Date: Fri, 13 Jun 2025 11:21:57 +0700
Subject: [PATCH] getAntiCheatIconFilename expand the list of status

---
 portprotonqt/game_card.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/portprotonqt/game_card.py b/portprotonqt/game_card.py
index 54ce23b..ca95cfd 100644
--- a/portprotonqt/game_card.py
+++ b/portprotonqt/game_card.py
@@ -322,9 +322,15 @@ class GameCard(QFrame):
     @staticmethod
     def getAntiCheatIconFilename(status: str) -> str:
         status = status.lower()
-        if status in ("supported", "running"):
+        if status in ("supported"):
             return "ac_supported"
-        elif status in ("denied", "planned", "broken"):
+        elif status in ("running"):
+            return "ac_running"
+        elif status in ("planned"):
+            return "ac_planned"
+        elif status in ("denied"):
+            return "ac_denied"
+        elif status in ("broken"):
             return "ac_broken"
         return ""