summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-08-18 12:41:41 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-08-18 12:41:41 -0400
commit3c008cfc633701ad75207f94b9c694bd217e763a (patch)
treed2618fdfaf7003ef02cd027f2a00f645504feae4 /src
parent119d3d7cb21fb96f220ec25f478d4b3621ae402f (diff)
downloaddecky-lsfg-vk-3c008cfc633701ad75207f94b9c694bd217e763a.tar.gz
decky-lsfg-vk-3c008cfc633701ad75207f94b9c694bd217e763a.zip
move install uninstall button and status to bottom to buy ui realestate
Diffstat (limited to 'src')
-rw-r--r--src/components/Content.tsx57
1 files changed, 42 insertions, 15 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 7815951..e0adf3f 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -76,20 +76,25 @@ export function Content() {
return (
<PanelSection>
- <InstallationButton
- isInstalled={isInstalled}
- isInstalling={isInstalling}
- isUninstalling={isUninstalling}
- onInstall={onInstall}
- onUninstall={onUninstall}
- />
-
- <StatusDisplay
- dllDetected={dllDetected}
- dllDetectionStatus={dllDetectionStatus}
- isInstalled={isInstalled}
- installationStatus={installationStatus}
- />
+ {/* Show installation components at top when not fully installed */}
+ {!isInstalled && (
+ <>
+ <InstallationButton
+ isInstalled={isInstalled}
+ isInstalling={isInstalling}
+ isUninstalling={isUninstalling}
+ onInstall={onInstall}
+ onUninstall={onUninstall}
+ />
+
+ <StatusDisplay
+ dllDetected={dllDetected}
+ dllDetectionStatus={dllDetectionStatus}
+ isInstalled={isInstalled}
+ installationStatus={installationStatus}
+ />
+ </>
+ )}
<SmartClipboardButton />
@@ -118,7 +123,29 @@ export function Content() {
<ClipboardButton />
{/* Plugin Update Checker */}
- <PluginUpdateChecker /> {/* Nerd Stuff Button */}
+ <PluginUpdateChecker />
+
+ {/* Show installation components at bottom when fully installed */}
+ {isInstalled && (
+ <>
+ <InstallationButton
+ isInstalled={isInstalled}
+ isInstalling={isInstalling}
+ isUninstalling={isUninstalling}
+ onInstall={onInstall}
+ onUninstall={onUninstall}
+ />
+
+ <StatusDisplay
+ dllDetected={dllDetected}
+ dllDetectionStatus={dllDetectionStatus}
+ isInstalled={isInstalled}
+ installationStatus={installationStatus}
+ />
+ </>
+ )}
+
+ {/* Nerd Stuff Button */}
<PanelSectionRow>
<ButtonItem
layout="below"