Fix error loading feed when device language is Australian English (en_AU)

This commit is contained in:
Brahim Hadriche committed 2025-08-22 14:25:23 -04:00
1 parent 72bf86f376
commit 694cb78947
3 files changed
+7 -10

No files matched your search

@@ -182,9 +182,9 @@ namespace Innertube
function GetCurrentLocale(deviceInfo as object) as string
currentLocale = deviceInfo.GetCurrentLocale()
' en_CA is not a valid locale for Innertube
if currentLocale = "en_CA"
currentLocale = "en_US"
' en_CA and en_AU are not valid locales for Innertube
if currentLocale = "en_CA" or currentLocale = "en_AU"
return "en_US"
end if
return currentLocale
end function