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 fce130440e
commit cf36ab9a2b
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -148,6 +148,10 @@ ColumnLayout {
visible: shareModel.displayFileOwner
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
}