summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 00:06:58 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 00:06:58 -0400
commitf9352694a78a2bcfd00d237398a2b30de14c70be (patch)
treebaa4ae17c1c326ad3505a350989e863dc46e1dd0 /src
parent89e64a7dbddb8f713dd2ca37131924e8bd8ab51f (diff)
downloaddecky-lsfg-vk-f9352694a78a2bcfd00d237398a2b30de14c70be.tar.gz
decky-lsfg-vk-f9352694a78a2bcfd00d237398a2b30de14c70be.zip
fix: show Steam branch recovery action
Diffstat (limited to 'src')
-rw-r--r--src/components/StatusDisplay.tsx12
1 files changed, 7 insertions, 5 deletions
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