mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-24 23:36:05 +00:00
Refactoring
This commit is contained in:
1 parent
65515eb2ce
commit
7c18c73c82
1 file changed
+2
-1
@@ -360,7 +360,8 @@ class InboundNearbyConnection: NearbyConnection {
|
|||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.delegate?.obtainUserConsent(for: metadata, from: self.remoteDeviceInfo!, connection: self)
|
self.delegate?.obtainUserConsent(for: metadata, from: self.remoteDeviceInfo!, connection: self)
|
||||||
}
|
}
|
||||||
} else if let textMetadata = frame.v1.introduction.textMetadata.first {
|
}
|
||||||
|
else if let textMetadata = frame.v1.introduction.textMetadata.first {
|
||||||
|
|
||||||
if textMetadata.type == .url || textMetadata.type == .text {
|
if textMetadata.type == .url || textMetadata.type == .text {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user