mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 05:46:03 +00:00
Revert merge
This commit is contained in:
1 parent
cf6d45520f
commit
71c6e8bb3a
15 files changed
+4363
-1461
No files matched your search
@@ -217,7 +217,7 @@ public class NearbyConnectionManager: NSObject, NetServiceDelegate, InboundNearb
|
||||
case .waiting(let error):
|
||||
log("[NearbyConnectionManager] Browser waiting: \(error)")
|
||||
|
||||
if error.errorCode == -65570 {
|
||||
if error == NWError.dns(DNSServiceErrorType(kDNSServiceErr_PolicyDenied)) {
|
||||
log("[NearbyConnectionManager] Local network access not granted.")
|
||||
self.hasLocalNetworkAccess = false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user