ui: improve remote controller stop reason (#4670)

This commit is contained in:
spaced4ndy
2024-08-13 15:05:13 +04:00
committed by GitHub
parent cb683d0706
commit 38fa4c231f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -2086,6 +2086,8 @@ func processReceivedMsg(_ res: ChatResponse) async {
m.remoteCtrlSession = nil
dismissAllSheets() {
switch rcStopReason {
case .disconnected:
()
case .connectionFailed(.errorAgent(.RCP(.identity))):
AlertManager.shared.showAlertMsg(
title: "Connection with desktop stopped",