diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 15:50:35 -0400 |
|---|---|---|
| committer | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-10 15:50:35 -0400 |
| commit | 91365a978911e17097f7363216271b98354399ec (patch) | |
| tree | cb8d0c18647bbd45042e2d6d408a4cadc5f4b44a /src/components/GameConfigurationSelector.tsx | |
| parent | 92cffa96763448b83d5e762020631e3346d6e9da (diff) | |
| download | decky-lsfg-vk-91365a978911e17097f7363216271b98354399ec.tar.gz decky-lsfg-vk-91365a978911e17097f7363216271b98354399ec.zip | |
refactor: remove flatpak transport labels
Diffstat (limited to 'src/components/GameConfigurationSelector.tsx')
| -rw-r--r-- | src/components/GameConfigurationSelector.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/GameConfigurationSelector.tsx b/src/components/GameConfigurationSelector.tsx index 92eacba..1c95820 100644 --- a/src/components/GameConfigurationSelector.tsx +++ b/src/components/GameConfigurationSelector.tsx @@ -28,16 +28,14 @@ function usePersistentCollapsed(key: string) { useEffect(() => { try { localStorage.setItem(key, String(collapsed)); - } catch { - // Persisting the view preference is optional. - } + } catch {} }, [collapsed, key]); return [collapsed, () => setCollapsed((value) => !value)] as const; } function targetDescription(game: GameTarget): string { - if (game.transport.kind === "flatpak") return "Non-Steam · Flatpak"; + if (game.directFlatpak) return "Non-Steam · Direct Flatpak"; return game.nonSteam ? "Non-Steam" : "Steam"; } @@ -137,7 +135,7 @@ export function GameConfigurationSelector({ showModal( <ConfirmModal strTitle="Enable all available games?" - strDescription="Create individual LSFG-VK profiles for every available game using the plugin defaults. Flatpak targets will be provisioned as needed." + strDescription="Create individual LSFG-VK profiles for every available game using the plugin defaults. Flatpak applications are prepared separately in Setup." strOKButtonText="Enable all" strCancelButtonText="Cancel" onOK={() => void onEnableAll()} |
