fix: enable native HTTP downloader in settings

This commit is contained in:
Moyasee
2026-01-11 17:50:16 +02:00
parent 2e152d321e
commit 9298d9aa09

View File

@@ -53,7 +53,7 @@ export function SettingsGeneral() {
achievementSoundVolume: 15,
language: "",
customStyles: window.localStorage.getItem("customStyles") || "",
useNativeHttpDownloader: false,
useNativeHttpDownloader: true,
});
const [languageOptions, setLanguageOptions] = useState<LanguageOption[]>([]);
@@ -133,7 +133,7 @@ export function SettingsGeneral() {
userPreferences.friendStartGameNotificationsEnabled ?? true,
language: language ?? "en",
useNativeHttpDownloader:
userPreferences.useNativeHttpDownloader ?? false,
userPreferences.useNativeHttpDownloader ?? true,
}));
}
}, [userPreferences, defaultDownloadsPath]);