diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:35:25 -0400 |
|---|---|---|
| committer | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 16:35:25 -0400 |
| commit | 1de34909f7caa0afc9c5b2745112ce29173eda69 (patch) | |
| tree | 79371ba7644c6b2aaa17d50419b55cb4df056cbe /src/components/WorkaroundsSection.tsx | |
| parent | 4dc1a3b7cc6b02ed06a8349d85b0eae36af10b0b (diff) | |
| download | decky-lsfg-vk-1de34909f7caa0afc9c5b2745112ce29173eda69.tar.gz decky-lsfg-vk-1de34909f7caa0afc9c5b2745112ce29173eda69.zip | |
refactor: keep steam workarounds transport agnostic
Diffstat (limited to 'src/components/WorkaroundsSection.tsx')
| -rw-r--r-- | src/components/WorkaroundsSection.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/WorkaroundsSection.tsx b/src/components/WorkaroundsSection.tsx index 050992c..3de5ec1 100644 --- a/src/components/WorkaroundsSection.tsx +++ b/src/components/WorkaroundsSection.tsx @@ -8,7 +8,6 @@ import type { WorkaroundField } from "../hooks/usePerAppWorkarounds"; interface WorkaroundsSectionProps { appId: string; nonSteam: boolean; - directFlatpak?: boolean; onRepair?: () => Promise<boolean>; } @@ -78,9 +77,9 @@ function usePersistentCollapsed() { return [collapsed, () => setCollapsed((value) => !value)] as const; } -export function WorkaroundsSection({ appId, nonSteam, directFlatpak = false, onRepair }: WorkaroundsSectionProps) { +export function WorkaroundsSection({ appId, nonSteam, onRepair }: WorkaroundsSectionProps) { const [collapsed, toggleCollapsed] = usePersistentCollapsed(); - const { status, snapshot, refresh, update, error } = usePerAppWorkarounds(appId, nonSteam, directFlatpak); + const { status, snapshot, refresh, update, error } = usePerAppWorkarounds(appId, nonSteam); const [repairing, setRepairing] = useState(false); const state = snapshot?.state; const controlsDisabled = status !== "ready" || state === undefined || snapshot?.wrapperOwned !== true || snapshot.integrationInstalled !== true; |
