mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 22:05:59 +00:00
Add progress notification when receiving files
This commit is contained in:
1 parent
673d4418f8
commit
1ac988a4fc
11 files changed
+308
-52
No files matched your search
@@ -117,7 +117,7 @@ class ShareViewController: NSViewController, OutboundAppDelegate {
|
||||
|
||||
@IBAction func cancel(_: AnyObject?) {
|
||||
if let device = chosenDevice {
|
||||
NearbyConnectionManager.shared.cancelOutgoingTransfer(id: device.id!)
|
||||
NearbyConnectionManager.shared.cancelTransfer(id: device.id!)
|
||||
}
|
||||
let cancelError = NSError(domain: NSCocoaErrorDomain, code: NSUserCancelledError, userInfo: nil)
|
||||
extensionContext!.cancelRequest(withError: cancelError)
|
||||
|
||||
Reference in new issue
Block a user