Also show error message for connections that were not approved yet

This commit is contained in:
Leon Böttger committed 2025-07-26 18:48:14 +02:00
1 parent 71ef68d4cb
commit 2c4d661ef3
1 file changed
+1 -2
+1 -2
View File
@@ -424,7 +424,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
func incomingTransfer(id: String, didFinishWith error: Error?) {
guard let transfer = activeIncomingTransfers[id] else { return }
if let error = error {
@@ -433,7 +432,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
plusWindow.close()
}
ErrorAlertHandler.shared.showErrorAlert(for: transfer.device.name, error: error)
ErrorAlertHandler.shared.showErrorAlert(for: activeIncomingTransfers[id]?.device.name ?? "Android", error: error)
} else {
let currentCount = transmissionCount()
if currentCount == 0 {