[fix] hide privacy controls on locked desktops across clients

This commit is contained in:
dijunkun
2026-10-27 03:46:19 +08:00
parent 922cd41f70
commit 0e052e6d7a
15 changed files with 92 additions and 37 deletions
@@ -1439,9 +1439,11 @@ final class RemoteSessionModel: NSObject, ObservableObject, CrossDeskRTCBridgeDe
clipboardStatus = "已接收远端剪贴板"
}
func rtcBridge(_ bridge: CrossDeskRTCBridge, didReceiveServiceAvailable available: Bool) {
func rtcBridge(_ bridge: CrossDeskRTCBridge, didReceiveServiceAvailable available: Bool,
interactiveStage stage: String) {
guard hasNetworkConsent, isConnecting || isConnected else { return }
remoteServiceAvailable = available
privacyScreen.setInteractiveStage(stage)
}
func rtcBridge(_ bridge: CrossDeskRTCBridge, didSendSecureAttention success: Bool) {