summaryrefslogtreecommitdiff
path: root/src/components/NowPlayingTab.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 10:23:23 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 10:23:23 -0400
commit6597df7865b4eb5fce574d5efda1e33680df4357 (patch)
treeb6ec78ab8663c3da2e0745db8fb98bbb7303e6e2 /src/components/NowPlayingTab.tsx
parent0be6ccdd1a8ecfe386281451cf4c49d052f6dda4 (diff)
downloaddecky-lsfg-vk-6597df7865b4eb5fce574d5efda1e33680df4357.tar.gz
decky-lsfg-vk-6597df7865b4eb5fce574d5efda1e33680df4357.zip
compact now playing infov2-now-playing
Diffstat (limited to 'src/components/NowPlayingTab.tsx')
-rw-r--r--src/components/NowPlayingTab.tsx12
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}