Fix context menu encrypted media check

This commit is contained in:
miruka 2020-07-20 12:34:32 -04:00
parent 6bdf39ad68
commit e38a4ed408

View File

@ -194,7 +194,8 @@ HColumnLayout {
id: copyMedia id: copyMedia
icon.name: "copy-link" icon.name: "copy-link"
text: text:
contextMenu.media.length === 0 || isEncryptedMedia ? contextMenu.media.length === 0 ||
contextMenu.isEncryptedMedia ?
"" : "" :
contextMenu.media[0] === Utils.Media.File ? contextMenu.media[0] === Utils.Media.File ?