From e8dfe5a87df1d3155004ccf59363d4a9724300a6 Mon Sep 17 00:00:00 2001
From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com>
Date: Thu, 15 Jun 2023 13:53:02 +0100
Subject: When decky is uncertain of branch, set the setting to match the guess
 (#480)

* If branch setting is missing, set it using the 'guess' from backend

* Make the frontend default to stable branch like the backend
---
 frontend/src/components/settings/pages/general/BranchSelect.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/src/components/settings/pages/general/BranchSelect.tsx')

diff --git a/frontend/src/components/settings/pages/general/BranchSelect.tsx b/frontend/src/components/settings/pages/general/BranchSelect.tsx
index d966ff62..9b304f3a 100644
--- a/frontend/src/components/settings/pages/general/BranchSelect.tsx
+++ b/frontend/src/components/settings/pages/general/BranchSelect.tsx
@@ -21,7 +21,7 @@ const BranchSelect: FunctionComponent<{}> = () => {
     t('BranchSelect.update_channel.prerelease'),
     t('BranchSelect.update_channel.testing'),
   ];
-  const [selectedBranch, setSelectedBranch] = useSetting<UpdateBranch>('branch', UpdateBranch.Prerelease);
+  const [selectedBranch, setSelectedBranch] = useSetting<UpdateBranch>('branch', UpdateBranch.Stable);
 
   return (
     // Returns numerical values from 0 to 2 (with current branch setup as of 8/28/22)
-- 
cgit v1.2.3

