Skip to content

Commit 2c15ea0

Browse files
committed
fix: item not clickable
1 parent 7833647 commit 2c15ea0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/setting/setting-home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Home = ({ onError }: Props) => {
7171

7272
<SettingItem label={t("Enable Proxy")}>
7373
<GuardState
74-
value={enable_tun_mode ?? enable_system_proxy ?? false}
74+
value={enable_tun_mode || enable_system_proxy}
7575
valueProps="checked"
7676
onCatch={onError}
7777
onFormat={onSwitchFormat}

0 commit comments

Comments
 (0)