From 7c18c73c827f21caf8860b41e8cf01f470881ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Sat, 17 May 2025 15:11:26 +0200 Subject: [PATCH] Refactoring --- NearbyShare/InboundNearbyConnection.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {