diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-10-21 12:06:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 12:06:57 -0400 |
| commit | 4f7557a84be323392e00f51194e7b70b35512277 (patch) | |
| tree | 12ff6e936470801b18f2ab39836b941be794cb05 /src/components/NerdStuffModal.tsx | |
| parent | bd2fdea07cde9aaac77047aa4a7d406c39e5a56e (diff) | |
| parent | ec37b86c5d4a6371804e71e7863df6a71c756db3 (diff) | |
| download | decky-lsfg-vk-4f7557a84be323392e00f51194e7b70b35512277.tar.gz decky-lsfg-vk-4f7557a84be323392e00f51194e7b70b35512277.zip | |
Merge pull request #189 from xXJSONDeruloXx/store-cleanup-2
Store cleanup 2
Diffstat (limited to 'src/components/NerdStuffModal.tsx')
| -rw-r--r-- | src/components/NerdStuffModal.tsx | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/components/NerdStuffModal.tsx b/src/components/NerdStuffModal.tsx index b5689c9..b4a79a2 100644 --- a/src/components/NerdStuffModal.tsx +++ b/src/components/NerdStuffModal.tsx @@ -3,7 +3,9 @@ import { ModalRoot, Field, Focusable, - Button + DialogControlsSection, + PanelSectionRow, + ButtonItem } from "@decky/ui"; import { getDllStats, DllStatsResult, getConfigFileContent, getLaunchScriptContent, FileContentResult } from "../api/lsfgApi"; @@ -86,7 +88,7 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) { </Focusable> </Field> - <Field label="SHA256 Hash"> + <Field label="DLL SHA256 Hash"> <Focusable onClick={() => dllStats.dll_sha256 && copyToClipboard(dllStats.dll_sha256)} onActivate={() => dllStats.dll_sha256 && copyToClipboard(dllStats.dll_sha256)} @@ -166,9 +168,17 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) { </Field> )} - <Button onClick={closeModal}> - Close - </Button> + {/* Close Button */} + <DialogControlsSection> + <PanelSectionRow> + <ButtonItem + layout="below" + onClick={closeModal} + > + Close + </ButtonItem> + </PanelSectionRow> + </DialogControlsSection> </> )} </ModalRoot> |
