diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-07 20:57:26 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-09-07 20:57:26 -0400 |
| commit | 54acc36f16e1336772354f979a618cce65061f82 (patch) | |
| tree | 9aae51351de2468277b3392b984e5caa99c271b4 /src/components/ConfigurationTab.tsx | |
| parent | e21eee83fc58fee3481aa0e17feb7cd9a8d8750e (diff) | |
| download | decky-lsfg-vk-54acc36f16e1336772354f979a618cce65061f82.tar.gz decky-lsfg-vk-54acc36f16e1336772354f979a618cce65061f82.zip | |
refactor: make runtime installation explicit
Diffstat (limited to 'src/components/ConfigurationTab.tsx')
| -rw-r--r-- | src/components/ConfigurationTab.tsx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/components/ConfigurationTab.tsx b/src/components/ConfigurationTab.tsx index 2175eb9..b3c0281 100644 --- a/src/components/ConfigurationTab.tsx +++ b/src/components/ConfigurationTab.tsx @@ -1,5 +1,6 @@ -import { ButtonItem, Field, Focusable, PanelSection, PanelSectionRow } from "@decky/ui"; +import { ButtonItem, DialogButton, Field, Focusable, PanelSection, PanelSectionRow } from "@decky/ui"; import { useCallback, useEffect, useRef, useState } from "react"; +import { FaArrowLeft } from "react-icons/fa"; import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; import { ConfigurationData } from "../config/configSchema"; import { GameTarget } from "../hooks/useGameConfiguration"; @@ -116,7 +117,13 @@ export function ConfigurationTab({ )} <PanelSectionRow> <Focusable ref={backToGamesRef} noFocusRing> - <ButtonItem layout="below" onClick={closeDetails}>Back to games</ButtonItem> + <DialogButton + aria-label="Back to games" + onClick={closeDetails} + style={{ width: "48px", minWidth: "48px", height: "48px", padding: "10px" }} + > + <FaArrowLeft /> + </DialogButton> </Focusable> </PanelSectionRow> </PanelSection> |
