mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Fix: iOS share extension not detecting new devices after a while
This commit is contained in:
1 parent
734cf766d5
commit
fdc19b6f62
4 files changed
+19
-17
No files matched your search
@@ -197,14 +197,14 @@ class ReceiveModel: ObservableObject, InboundAppDelegate {
|
||||
|
||||
#if os(iOS)
|
||||
errorVibration()
|
||||
#else
|
||||
DispatchQueue.main.async {
|
||||
self.hideQuickDropToast()
|
||||
}
|
||||
#endif
|
||||
|
||||
controlPlusScreen(false)
|
||||
ErrorAlertHandler.shared.showErrorAlert(for: device.name ?? "Android", error: error)
|
||||
|
||||
DispatchQueue.main.async {
|
||||
self.hideQuickDropToast()
|
||||
}
|
||||
} else {
|
||||
|
||||
#if os(iOS)
|
||||
@@ -288,6 +288,7 @@ class ReceiveModel: ObservableObject, InboundAppDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
#if os(macOS)
|
||||
func showReviewIfAppropriate(currentTransmissionCount: Int) {
|
||||
// If distributed directly, do not request review here as it does not work
|
||||
if pendingReview && !DistributionDetector.isDirectDistributionEnabled {
|
||||
@@ -300,6 +301,7 @@ class ReceiveModel: ObservableObject, InboundAppDelegate {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user