Cleanup the list of required properties for MessageDelegateContextMenu

This commit is contained in:
James Graham
2023-05-29 15:03:34 +00:00
parent 4e40f5c7d9
commit d09cd5d71b
5 changed files with 7 additions and 30 deletions

View File

@@ -78,13 +78,12 @@ Components.AlbumMaximizeComponent {
onItemRightClicked: {
const contextMenu = fileDelegateContextMenu.createObject(parent, {
author: root.author,
message: root.plainText,
eventId: root.eventId,
source: root.source,
file: parent,
mimeType: root.mimeType,
progressInfo: root.progressInfo,
plainMessage: root.plainText,
plainText: root.plainText,
});
contextMenu.closeFullscreen.connect(root.close)
contextMenu.open();