From 7e94ad721026a03d3ae640ee2deb60e321cabf10 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Mon, 30 Dec 2024 14:45:51 +0100 Subject: [PATCH] fix(usersettings): fix the streaming region setting toggling itself (#1203) When the streaming region is set to another value than the default one, the setting starts toggling itself from the default value to the new value and vice-versa constantly fix #1200 --- src/components/Settings/SettingsMain/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Settings/SettingsMain/index.tsx b/src/components/Settings/SettingsMain/index.tsx index 07a974b5..1ad6109b 100644 --- a/src/components/Settings/SettingsMain/index.tsx +++ b/src/components/Settings/SettingsMain/index.tsx @@ -157,7 +157,7 @@ const SettingsMain = () => { locale: data?.locale ?? 'en', discoverRegion: data?.discoverRegion, originalLanguage: data?.originalLanguage, - streamingRegion: data?.streamingRegion, + streamingRegion: data?.streamingRegion || 'US', partialRequestsEnabled: data?.partialRequestsEnabled, enableSpecialEpisodes: data?.enableSpecialEpisodes, trustProxy: data?.trustProxy, @@ -451,7 +451,7 @@ const SettingsMain = () => {