diff --git a/NearbyShare/InboundNearbyConnection.swift b/NearbyShare/InboundNearbyConnection.swift index dbe2dc8..ed86a50 100644 --- a/NearbyShare/InboundNearbyConnection.swift +++ b/NearbyShare/InboundNearbyConnection.swift @@ -360,7 +360,8 @@ class InboundNearbyConnection: NearbyConnection { DispatchQueue.main.async { 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 {