Skip to content

Commit ffe4b7a

Browse files
authored
[Bug] Fix "no https" toggle not working (#2755)
Fix no https toggle
1 parent b1f482c commit ffe4b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/screens/Settings/components/DownloadNoHTTPS.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const DownloadNoHTTPS = () => {
1414
<ToggleSwitch
1515
htmlId="downloadNoHttps"
1616
value={downloadNoHttps}
17-
handleChange={() => setDownloadNoHttps(!setDownloadNoHttps)}
17+
handleChange={() => setDownloadNoHttps(!downloadNoHttps)}
1818
title={t(
1919
'setting.download-no-https',
2020
'Download games without HTTPS (useful for CDNs e.g. LanCache)'

0 commit comments

Comments
 (0)