Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tray/ActivityItemContent.qml')
-rw-r--r--src/gui/tray/ActivityItemContent.qml16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml
index 80bc931fc..80f0652f7 100644
--- a/src/gui/tray/ActivityItemContent.qml
+++ b/src/gui/tray/ActivityItemContent.qml
@@ -199,20 +199,18 @@ RowLayout {
}
CustomButton {
- id: shareButton
+ id: fileDetailsButton
Layout.preferredWidth: Style.trayListItemIconSize
Layout.preferredHeight: Style.trayListItemIconSize
- visible: root.activityData.isShareable
-
- imageSource: "image://svgimage-custom-color/share.svg" + "/" + Style.adjustedCurrentUserHeaderColor
- imageSourceHover: "image://svgimage-custom-color/share.svg" + "/" + Style.currentUserHeaderTextColor
-
- toolTipText: qsTr("Open share dialog")
-
+ imageSource: "image://svgimage-custom-color/more.svg" + "/" + Style.adjustedCurrentUserHeaderColor
+ imageSourceHover: "image://svgimage-custom-color/more.svg" + "/" + Style.currentUserHeaderTextColor
+ toolTipText: qsTr("Open file details")
bgColor: Style.currentUserHeaderColor
- onClicked: root.shareButtonClicked()
+ visible: model.showFileDetails
+
+ onClicked: Systray.presentShareViewInTray(model.openablePath)
}
}