mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-26 00:06:02 +00:00
Temporarily put files in temp directory
This commit is contained in:
1 parent
867bf3fff5
commit
ba1f49a711
21 files changed
+537
-447
No files matched your search
@@ -228,9 +228,9 @@ public class NearbyConnectionManager : NSObject, NetServiceDelegate, InboundNear
|
||||
activeConnections.removeValue(forKey: connection.id)
|
||||
}
|
||||
|
||||
public func submitUserConsent(transferID:String, accept:Bool){
|
||||
public func submitUserConsent(transferID:String, accept:Bool, storeInTemp: Bool = false){
|
||||
guard let conn=activeConnections[transferID] else {return}
|
||||
conn.submitUserConsent(accepted: accept)
|
||||
conn.submitUserConsent(accepted: accept, storeInTemp: storeInTemp)
|
||||
}
|
||||
|
||||
public func startDeviceDiscovery(){
|
||||
|
||||
Reference in new issue
Block a user