We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 938802d commit 79c35c6Copy full SHA for 79c35c6
src/renderer/src/components/sider/tun-switcher.tsx
@@ -34,9 +34,9 @@ const TunSwitcher: React.FC = () => {
34
if (enable) {
35
await patchControledMihomoConfig({ tun: { enable }, dns: { enable: true } })
36
} else {
37
- await patchControledMihomoConfig({ tun: { enable }, dns: { enable: true } })
38
- await patchMihomoConfig({ tun: { enable } })
+ await patchControledMihomoConfig({ tun: { enable } })
39
}
+ await patchMihomoConfig({ tun: { enable } })
40
41
42
return (
0 commit comments