Add lead workflows, PDF signing, AR projects and photo gallery integration
This commit is contained in:
@ -63,6 +63,7 @@ final class DocuframeViewModel {
|
||||
successText: String,
|
||||
action: ([DocuframePhoto], String) async throws -> Void
|
||||
) async {
|
||||
guard !isProcessing else { return }
|
||||
let selected = photos.filter { selectedIDs.contains($0.persistentModelID) }
|
||||
guard !selected.isEmpty else {
|
||||
result = .failure(message: DocuframeError.noPhotosSelected.localizedDescription)
|
||||
@ -85,7 +86,7 @@ final class DocuframeViewModel {
|
||||
/// Bildet das Persistenz-Model auf ein persistenzunabhängiges Domänen-DTO ab.
|
||||
private static func makeDTO(_ photo: ProjectPhoto) -> DocuframePhoto {
|
||||
DocuframePhoto(
|
||||
imageData: photo.imageData,
|
||||
imageData: photo.annotatedImageData ?? photo.imageData,
|
||||
creationDate: photo.creationDate,
|
||||
latitude: photo.latitude,
|
||||
longitude: photo.longitude
|
||||
|
||||
Reference in New Issue
Block a user