diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-11 10:51:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-11 10:51:55 -0400 |
| commit | bc73d150230f92d614962f7384a7430cf64dcd14 (patch) | |
| tree | b6ec78ab8663c3da2e0745db8fb98bbb7303e6e2 /src/components/NowPlayingTab.tsx | |
| parent | 904e2e6131071c3b132d3148947b613c2830b1bb (diff) | |
| parent | 6597df7865b4eb5fce574d5efda1e33680df4357 (diff) | |
| download | decky-lsfg-vk-bc73d150230f92d614962f7384a7430cf64dcd14.tar.gz decky-lsfg-vk-bc73d150230f92d614962f7384a7430cf64dcd14.zip | |
Merge pull request #263 from xXJSONDeruloXx/v2-now-playing
flatpak correctness, ui alignment, tests
Diffstat (limited to 'src/components/NowPlayingTab.tsx')
| -rw-r--r-- | src/components/NowPlayingTab.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/NowPlayingTab.tsx b/src/components/NowPlayingTab.tsx index c067dc0..4c22fb7 100644 --- a/src/components/NowPlayingTab.tsx +++ b/src/components/NowPlayingTab.tsx @@ -1,7 +1,8 @@ -import { Field, Focusable, PanelSection, PanelSectionRow } from "@decky/ui"; +import { Focusable } from "@decky/ui"; import { ConfigurationData } from "../config/configSchema"; import { GameTarget } from "../hooks/useGameConfiguration"; import { GameConfigurationControls } from "./GameConfigurationControls"; +import { NowPlayingSummary } from "./NowPlayingSummary"; interface Props { game: GameTarget; @@ -23,11 +24,10 @@ export function NowPlayingTab({ }: Props) { return ( <Focusable> - <PanelSection title="Now Playing"> - <PanelSectionRow> - <Field label={game.name} description={targetDescription(game)} /> - </PanelSectionRow> - </PanelSection> + <NowPlayingSummary + title={game.name} + details={[targetDescription(game), `Controls: ${game.name} profile`]} + /> <GameConfigurationControls config={config} onConfigChange={onConfigChange} |
