diff options
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> |
