mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-23 06:46:03 +00:00
Add iOS Share Extension
This commit is contained in:
1 parent
13ce7522a7
commit
406247d968
13 files changed
+602
-147
No files matched your search
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// AttachmentDetails.swift
|
||||
// QuickDrop
|
||||
//
|
||||
// Created by Leon Böttger on 17.08.25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
struct AttachmentDetails {
|
||||
var urls: [URL]
|
||||
var textToSend: String?
|
||||
var shortDescription: String
|
||||
#if os(macOS)
|
||||
var previewImage: NSImage?
|
||||
#else
|
||||
var previewImage: Image?
|
||||
#endif
|
||||
|
||||
var closeView: (() -> Void)? = nil
|
||||
}
|
||||
Reference in new issue
Block a user