From cfc4c26f74814848e5bb1802809a50c4db01cc69 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Sun, 20 Oct 2024 17:36:52 +0800 Subject: [PATCH] Display file owner information (if not self) in share view Signed-off-by: Claudio Cambra --- src/gui/filedetails/ShareView.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/gui/filedetails/ShareView.qml b/src/gui/filedetails/ShareView.qml index e7e6046b7f..33bc0040e0 100644 --- a/src/gui/filedetails/ShareView.qml +++ b/src/gui/filedetails/ShareView.qml @@ -139,6 +139,19 @@ ColumnLayout { } } + Column { + Layout.fillWidth: true + Layout.leftMargin: root.horizontalPadding + Layout.rightMargin: root.horizontalPadding + + EnforcedPlainTextLabel { + visible: shareModel.displayFileOwner + text: qsTr("Shared with you by %1").arg(shareModel.fileOwnerDisplayName) + } + + visible: shareModel.displayFileOwner + } + ShareeSearchField { id: shareeSearchField Layout.fillWidth: true