From cf36ab9a2b16b2c09acfa9da525f3a834ca96d31 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Sun, 20 Oct 2024 17:37:09 +0800 Subject: [PATCH] Display shared with me file's share expiry in share view if relevant Signed-off-by: Claudio Cambra --- src/gui/filedetails/ShareView.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/filedetails/ShareView.qml b/src/gui/filedetails/ShareView.qml index efb94515c..7f5163f99 100644 --- a/src/gui/filedetails/ShareView.qml +++ b/src/gui/filedetails/ShareView.qml @@ -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 }