From e8e469f99078858dc953663cba6f3428e80b1c5d Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Sat, 5 Sep 2026 23:44:37 -0400
Subject: refactor: delegate runtime checks to lsfg-vk

---
 src/components/StatusDisplay.tsx | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

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

diff --git a/src/components/StatusDisplay.tsx b/src/components/StatusDisplay.tsx
index 3a48a15..31584eb 100644
--- a/src/components/StatusDisplay.tsx
+++ b/src/components/StatusDisplay.tsx
@@ -1,24 +1,24 @@
 import { PanelSectionRow } from "@decky/ui";
 
 interface StatusDisplayProps {
-  dllDetected: boolean;
-  dllDetectionStatus: string;
   isInstalled: boolean;
   installationStatus: string;
+  losslessScalingInstalled: boolean;
+  losslessScalingStatus: string;
 }
 
 export function StatusDisplay({
-  dllDetected,
-  dllDetectionStatus,
   isInstalled,
-  installationStatus
+  installationStatus,
+  losslessScalingInstalled,
+  losslessScalingStatus
 }: StatusDisplayProps) {
   return (
     <PanelSectionRow>
       <div style={{ marginBottom: "8px", fontSize: "14px" }}>
         <div
           style={{
-            color: dllDetected ? "#4CAF50" : "#F44336",
+            color: losslessScalingInstalled ? "#4CAF50" : "#F44336",
             fontWeight: "600",
             marginBottom: "6px",
             display: "flex",
@@ -27,10 +27,15 @@ export function StatusDisplay({
           }}
         >
           <span style={{ fontSize: "16px" }}>
-            {dllDetected ? "✅" : "❌"}
+            {losslessScalingInstalled ? "✅" : "❌"}
           </span>
-          {dllDetectionStatus}
+          {losslessScalingInstalled ? "Lossless Scaling Installed" : "Lossless Scaling Not Installed"}
         </div>
+        {!losslessScalingInstalled && losslessScalingStatus && (
+          <div style={{ color: "#B8B8B8", fontSize: "12px", margin: "0 0 6px 22px" }}>
+            {losslessScalingStatus}
+          </div>
+        )}
         <div
           style={{
             color: isInstalled ? "#4CAF50" : "#FF9800",
-- 
cgit v1.2.3

