From c08e4a2fddffee581311b2c723ac546b11e04216 Mon Sep 17 00:00:00 2001 From: Swift Coder Date: Tue, 15 Oct 2024 10:48:48 -0400 Subject: [PATCH] Documenting --- damus/Views/PostView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/PostView.swift b/damus/Views/PostView.swift index 15550eb5..84ecb753 100644 --- a/damus/Views/PostView.swift +++ b/damus/Views/PostView.swift @@ -452,6 +452,7 @@ struct PostView: View { } .alert(NSLocalizedString("Are you sure you want to upload the selected media?", comment: "Alert message asking if the user wants to upload media."), isPresented: $image_upload_confirm) { Button(NSLocalizedString("Upload", comment: "Button to proceed with uploading."), role: .none) { + // initiate asynchronous uploading Task for multiple-images Task { for media in preUploadedMedia { if let mediaToUpload = generateMediaUpload(media) {