diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-10-20 13:40:18 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-10-20 13:40:18 -0400 |
| commit | c07cf0dde2f26ec3ac672efe06da7cd991ed208b (patch) | |
| tree | 0f13e4823a58a06980a728a47b7992c775dc1789 /src | |
| parent | 23923d16565d7007f438599bca8b45c44358b11a (diff) | |
| download | decky-lsfg-vk-c07cf0dde2f26ec3ac672efe06da7cd991ed208b.tar.gz decky-lsfg-vk-c07cf0dde2f26ec3ac672efe06da7cd991ed208b.zip | |
chore: move uninstall and statuses locations in ui
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Content.tsx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 8fb3fe3..71329ad 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -126,28 +126,8 @@ export function Content() { /> )} - {/* Usage instructions - always visible for user guidance */} - <UsageInstructions config={config} /> - - {/* 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} - /> - </> - )} + {/* Usage instructions - always visible for user guidance */} + <UsageInstructions config={config} /> {/* Nerd Stuff Button */} <PanelSectionRow> @@ -168,6 +148,26 @@ export function Content() { Flatpak Setup </ButtonItem> </PanelSectionRow> + + {/* Status and uninstall sit at bottom when installed to match desired layout */} + {isInstalled && ( + <> + <StatusDisplay + dllDetected={dllDetected} + dllDetectionStatus={dllDetectionStatus} + isInstalled={isInstalled} + installationStatus={installationStatus} + /> + + <InstallationButton + isInstalled={isInstalled} + isInstalling={isInstalling} + isUninstalling={isUninstalling} + onInstall={onInstall} + onUninstall={onUninstall} + /> + </> + )} </PanelSection> ); } |
