mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Fix: Share Extension also started mDNS
This commit is contained in:
1 parent
a9bffd5cb1
commit
2f99aee5e5
2 files changed
+1
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -26,7 +26,6 @@ class SendModel: ObservableObject, OutboundAppDelegate {
|
||||
|
||||
init() {
|
||||
NearbyConnectionManager.shared.startDeviceDiscovery()
|
||||
NearbyConnectionManager.shared.becomeVisible()
|
||||
NearbyConnectionManager.shared.addShareExtensionDelegate(self)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user