Skip to content

Commit

Permalink
Make tray window item a rectangle with base palette colour
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
  • Loading branch information
claucambra authored and backportbot[bot] committed Dec 9, 2024
1 parent 0688afd commit 04618ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/tray/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ ApplicationWindow {
}
}

Item {
Rectangle {
id: trayWindowMainItem

property bool isUnifiedSearchActive: unifiedSearchResultsListViewSkeletonLoader.active
Expand All @@ -235,6 +235,8 @@ ApplicationWindow {
anchors.margins: Style.trayWindowBorderWidth
clip: true

radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius
color: palette.base
Accessible.role: Accessible.Grouping
Accessible.name: qsTr("Nextcloud desktop main dialog")

Expand Down

0 comments on commit 04618ba

Please sign in to comment.