Display shared with me file's share expiry in share view if relevant

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-10-20 17:37:09 +08:00
parent cfc4c26f74
commit 6620bf2dd2

View file

@ -148,6 +148,10 @@ ColumnLayout {
visible: shareModel.displayFileOwner visible: shareModel.displayFileOwner
text: qsTr("Shared with you by %1").arg(shareModel.fileOwnerDisplayName) text: qsTr("Shared with you by %1").arg(shareModel.fileOwnerDisplayName)
} }
EnforcedPlainTextLabel {
visible: shareModel.sharedWithMeExpires
text: qsTr("Expires in %1").arg(shareModel.sharedWithMeRemainingTimeString)
}
visible: shareModel.displayFileOwner visible: shareModel.displayFileOwner
} }