mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 11:01:07 +00:00
Improve fix instructions if other device is already running QuickDrop
This commit is contained in:
1 parent
664db36267
commit
7c35cc7b35
7 files changed
+260
-8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 = []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user