Skip to content

Commit

Permalink
fix visibility of dismiss button
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Sep 27, 2024
1 parent 2a4aa48 commit 8b92fc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/tray/ActivityItemContent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ RowLayout {
Layout.preferredHeight: Style.activityListButtonHeight
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter

visible: root.showDismissButton && !fileDetailsButton.visible

icon.source: "image://svgimage-custom-color/clear.svg/" + palette.buttonText
icon.width: Style.activityListButtonIconSize
icon.height: Style.activityListButtonIconSize
Expand Down

0 comments on commit 8b92fc3

Please sign in to comment.