From f9352694a78a2bcfd00d237398a2b30de14c70be Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Sun, 6 Sep 2026 00:06:58 -0400
Subject: fix: show Steam branch recovery action

---
 src/components/StatusDisplay.tsx | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'src/components/StatusDisplay.tsx')

diff --git a/src/components/StatusDisplay.tsx b/src/components/StatusDisplay.tsx
index b6290b0..5eb1823 100644
--- a/src/components/StatusDisplay.tsx
+++ b/src/components/StatusDisplay.tsx
@@ -20,13 +20,15 @@ export function StatusDisplay({
   isSwitchingSteamBranch,
   onSelectLosslessScalingBranch
 }: StatusDisplayProps) {
+  const losslessScalingAppInstalled = losslessScalingInstalled || steamBranchStatus?.installed === true;
+
   return (
     <>
       <PanelSectionRow>
         <div style={{ marginBottom: "8px", fontSize: "14px" }}>
           <div
             style={{
-              color: losslessScalingInstalled ? "#4CAF50" : "#F44336",
+              color: losslessScalingAppInstalled ? "#4CAF50" : "#F44336",
               fontWeight: "600",
               marginBottom: "6px",
               display: "flex",
@@ -35,11 +37,11 @@ export function StatusDisplay({
             }}
           >
             <span style={{ fontSize: "16px" }}>
-              {losslessScalingInstalled ? "✅" : "❌"}
+              {losslessScalingAppInstalled ? "✅" : "❌"}
             </span>
-            {losslessScalingInstalled ? "Lossless Scaling Installed" : "Lossless Scaling Not Installed"}
+            {losslessScalingAppInstalled ? "Lossless Scaling Installed" : "Lossless Scaling Not Installed"}
           </div>
-          {!losslessScalingInstalled && losslessScalingStatus && (
+          {!losslessScalingAppInstalled && losslessScalingStatus && (
             <div style={{ color: "#B8B8B8", fontSize: "12px", margin: "0 0 6px 22px" }}>
               {losslessScalingStatus}
             </div>
@@ -61,7 +63,7 @@ export function StatusDisplay({
         </div>
       </PanelSectionRow>
 
-      {losslessScalingInstalled && steamBranchStatus?.installed && (
+      {steamBranchStatus?.installed && (
         <PanelSectionRow>
           <div style={{ width: "100%" }}>
             <div
-- 
cgit v1.2.3

