Merge pull request #4640 from nextcloud/bugfix/share-dialog

bugfix/share-dialog
This commit is contained in:
Camila 2022-06-23 13:20:03 +02:00 committed by GitHub
commit ae61b5fc56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,6 @@ MouseArea {
property color adjustedHeaderColor: Theme.darkMode ? Qt.lighter(UserModel.currentUser.headerColor, 2)
: Qt.darker(UserModel.currentUser.headerColor, 1.5)
signal fileActivityButtonClicked(string absolutePath)
enabled: (model.path !== "" || model.link !== "" || model.isCurrentUserFileActivity === true)
hoverEnabled: true
@ -79,7 +77,8 @@ MouseArea {
adjustedHeaderColor: root.adjustedHeaderColor
onShareButtonClicked: Systray.openShareDialog(model.displayPath, model.absolutePath)
onShareButtonClicked: Systray.openShareDialog(model.displayPath, model.path)
onDismissButtonClicked: activityModel.slotTriggerDismiss(model.index)
}