Improve fix instructions if other device is already running QuickDrop

This commit is contained in:
Leon Böttger committed 2026-06-30 18:12:33 +02:00
1 parent 664db36267
commit 7c35cc7b35
7 files changed
+260 -8

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ class SendModel: ObservableObject, OutboundAppDelegate {
func connectionFailed(with error: any Error) {
ErrorAlertHandler.shared.showErrorAlert(for: selectedDevice?.name ?? "?", error: error)
ErrorAlertHandler.shared.showErrorAlert(for: selectedDevice?.name ?? "?", error: error, isQuickDropPeer: selectedDevice?.isQuickDropPeer ?? false)
progressValue = nil
selectedDevice = nil
+2
View File
@@ -70,6 +70,8 @@ struct SendPickerButton<Label: View>: View {
selectedPhotoItems = []
} catch {
log("Could not fetch photo URLs: \(error)")
onResult(nil, nil) // let the caller dismiss the "preparing" it opened on `onPrepare`
selectedPhotoItems = []
}
}
}