mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-20 05:16:02 +00:00
Add Clipboard Listener
This commit is contained in:
1 parent
ee091f60cd
commit
5fdc5f8a1b
11 files changed
+879
-23
No files matched your search
@@ -279,6 +279,9 @@ class InboundNearbyConnection: NearbyConnection {
|
||||
if let urlStr = String(data: payload, encoding: .utf8) {
|
||||
|
||||
if isPlainTextTransfer {
|
||||
#if os(macOS) && !EXTENSION
|
||||
ClipboardSyncCoordinator.shared.suppressNextClipboardSync(for: urlStr)
|
||||
#endif
|
||||
#if os(macOS)
|
||||
// macOS clipboard
|
||||
let pasteboard = NSPasteboard.general
|
||||
|
||||
Reference in new issue
Block a user