mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-20 19:12:09 +08:00
fix(service): harden transient IPC handling
This commit is contained in:
@@ -135,7 +135,7 @@ const ProxyControlSwitches = ({
|
||||
const { uninstallServiceAndStartSidecar } = useServiceUninstaller()
|
||||
const { indicator: systemProxyIndicator, toggleSystemProxy } =
|
||||
useSystemProxyState()
|
||||
const { isServiceOk, isTunModeAvailable, mutateSystemState } =
|
||||
const { isServiceInstallReady, isTunModeAvailable, mutateSystemState } =
|
||||
useSystemState()
|
||||
|
||||
const sysproxyRef = useRef<DialogRef>(null)
|
||||
@@ -225,7 +225,7 @@ const ProxyControlSwitches = ({
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{isServiceOk && (
|
||||
{isServiceInstallReady && (
|
||||
<TooltipIcon
|
||||
title={t(
|
||||
'settings.sections.proxyControl.actions.uninstallService',
|
||||
|
||||
Reference in New Issue
Block a user