Switch the document preview to a file dropped onto it

This commit is contained in:
Thorsten Sommer committed 2026-09-13 17:51:25 +02:00
1 parent ae793c07f7
commit 6ddb21a6dc
5 files changed
+276 -63

No files matched your search

@@ -459,6 +459,8 @@ public partial class AttachDocuments : MSGComponentBase
var dialogParameters = new DialogParameters<DocumentCheckDialog>
{
{ x => x.Document, fileAttachment },
{ x => x.AttachPaths, this.AttachDroppedPathsAsync },
{ x => x.IsAttachingUnavailable, () => this.IsUnavailable },
};
await this.DialogService.ShowAsync<DocumentCheckDialog>(T("Document Preview"), dialogParameters, DialogOptions.FULLSCREEN);