Fix: Share Extension also started mDNS

This commit is contained in:
Leon Böttger committed 2025-08-18 11:13:23 +02:00
1 parent a9bffd5cb1
commit 2f99aee5e5
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -108,6 +108,7 @@ struct DeviceListView: View {
ZStack {
if let attachments = NearbyConnectionManager.shared.attachments {
LUIButton {
lightVibration()
sendModel.urls = attachments.urls
sendModel.textToSend = attachments.textToSend
sendModel.selectDevice(device: device)
-1
View File
@@ -26,7 +26,6 @@ class SendModel: ObservableObject, OutboundAppDelegate {
init() {
NearbyConnectionManager.shared.startDeviceDiscovery()
NearbyConnectionManager.shared.becomeVisible()
NearbyConnectionManager.shared.addShareExtensionDelegate(self)
}