diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:46:41 -0400 |
|---|---|---|
| committer | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:46:41 -0400 |
| commit | 69f5b6f884064e93f15570d8c7ceda5d610c39dd (patch) | |
| tree | a4d02c2b1e47b032f998d8771b84faa7b8142c00 | |
| parent | 817cdf3d5344e961df05f408354d0387c731f5ce (diff) | |
| download | decky-lsfg-vk-69f5b6f884064e93f15570d8c7ceda5d610c39dd.tar.gz decky-lsfg-vk-69f5b6f884064e93f15570d8c7ceda5d610c39dd.zip | |
fix: use running steam config in now playing
| -rw-r--r-- | src/components/Content.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index ffb6eef..241ab92 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -45,6 +45,7 @@ function usePersistentBoolean(key: string, defaultValue: boolean) { export function Content() { const { config, + runningConfig, targets, runningGame, setSelectedAppId, @@ -135,8 +136,10 @@ export function Content() { const nowPlaying = runningGame?.configured ? ( <NowPlayingTab game={runningGame} - config={config} - onConfigChange={(field, value) => handleConfigChange(field, value)} + config={runningConfig} + onConfigChange={async (field, value) => { + await save({ ...runningConfig, [field]: value }, true); + }} /> ) : runningFlatpak ? ( <FlatpakNowPlayingTab |
