mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 19:11:10 +00:00
23 lines
381 B
Swift
23 lines
381 B
Swift
//
|
|
// 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
|
|
}
|