summaryrefslogtreecommitdiff
path: root/src/components/Content.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 00:16:19 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 00:22:35 -0400
commita9fd67d05d6819a839a60b581c1dc6eb2792a9be (patch)
tree1d3537c24875ef4582039610f68c0831c66307e4 /src/components/Content.tsx
parentf9352694a78a2bcfd00d237398a2b30de14c70be (diff)
downloaddecky-lsfg-vk-a9fd67d05d6819a839a60b581c1dc6eb2792a9be.tar.gz
decky-lsfg-vk-a9fd67d05d6819a839a60b581c1dc6eb2792a9be.zip
refactor: make Steam branch integration read-only
Diffstat (limited to 'src/components/Content.tsx')
-rw-r--r--src/components/Content.tsx19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 4e4e33a..01f94c9 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -15,7 +15,6 @@ import { NerdStuffModal } from "./NerdStuffModal";
import { FlatpaksModal } from "./FlatpaksModal";
import { ConfigurationData } from "../config/configSchema";
import t from '../i18n/i18n';
-import { showErrorToast, showSuccessToast } from "../utils/toastUtils";
export function Content() {
const {
@@ -26,8 +25,6 @@ export function Content() {
losslessScalingInstalled,
losslessScalingStatus,
steamBranchStatus,
- isSwitchingSteamBranch,
- selectLosslessScalingBranch,
checkInstallation
} = useInstallationStatus();
@@ -71,18 +68,6 @@ export function Content() {
handleUninstall(setIsInstalled, setInstallationStatus, checkInstallation);
};
- const onSelectLosslessScalingBranch = async () => {
- const result = await selectLosslessScalingBranch();
- if (result.success) {
- showSuccessToast("Steam branch selected", result.message);
- } else {
- showErrorToast(
- "Steam branch selection failed",
- result.error || "Unable to select the lsfg-vk Steam branch"
- );
- }
- };
-
const handleShowNerdStuff = () => {
showModal(<NerdStuffModal />);
};
@@ -109,8 +94,6 @@ export function Content() {
losslessScalingInstalled={losslessScalingInstalled}
losslessScalingStatus={losslessScalingStatus}
steamBranchStatus={steamBranchStatus}
- isSwitchingSteamBranch={isSwitchingSteamBranch}
- onSelectLosslessScalingBranch={onSelectLosslessScalingBranch}
/>
</>
)}
@@ -192,8 +175,6 @@ export function Content() {
losslessScalingInstalled={losslessScalingInstalled}
losslessScalingStatus={losslessScalingStatus}
steamBranchStatus={steamBranchStatus}
- isSwitchingSteamBranch={isSwitchingSteamBranch}
- onSelectLosslessScalingBranch={onSelectLosslessScalingBranch}
/>
<InstallationButton