mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
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:
parent
cfc4c26f74
commit
6620bf2dd2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue