mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 21:06:10 +00:00
Show file name for iOS share extension
This commit is contained in:
1 parent
e808b71446
commit
006f389891
8 files changed
+198
-39
No files matched your search
@@ -15,8 +15,9 @@ import Network
|
||||
import System
|
||||
import SwiftECC
|
||||
import CryptoKit
|
||||
import SwiftUI
|
||||
|
||||
public class NearbyConnectionManager: NSObject, NetServiceDelegate, InboundNearbyConnectionDelegate, OutboundNearbyConnectionDelegate {
|
||||
public class NearbyConnectionManager: NSObject, NetServiceDelegate, InboundNearbyConnectionDelegate, OutboundNearbyConnectionDelegate, ObservableObject {
|
||||
|
||||
#if !EXTENSION
|
||||
private let sleepManager = SleepManager.shared
|
||||
@@ -39,6 +40,8 @@ public class NearbyConnectionManager: NSObject, NetServiceDelegate, InboundNearb
|
||||
public var mainAppDelegate: (any InboundAppDelegate)?
|
||||
public static let shared = NearbyConnectionManager()
|
||||
|
||||
@Published var attachments: AttachmentDetails? = nil
|
||||
|
||||
|
||||
override init() {
|
||||
#if os(macOS)
|
||||
|
||||
Reference in new issue
Block a user