Restore compact mode background

Restore compact mode using the darker/lighter depending on color scheme background (i.e. the same as the bubble background) it broke somewhere in the refactor of roompage
This commit is contained in:
James Graham
2023-09-11 07:19:32 +00:00
parent cd39d5b129
commit 8285961c42
3 changed files with 4 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ QQC2.Control {
Layout.fillWidth: true
visible: sectionVisible
labelText: sectionVisible ? section : ""
colorSet: Config.compactLayout ? Kirigami.Theme.View : Kirigami.Theme.Window
}
RowLayout {
Layout.fillWidth: true

View File

@@ -116,6 +116,7 @@ QQC2.ScrollView {
z: 3
visible: !!messageListView.sectionBannerItem && messageListView.sectionBannerItem.ListView.section !== "" && !Config.blur
labelText: messageListView.sectionBannerItem ? messageListView.sectionBannerItem.ListView.section : ""
colorSet: Config.compactLayout ? Kirigami.Theme.View : Kirigami.Theme.Window
}
footerPositioning: ListView.OverlayHeader

View File

@@ -97,6 +97,8 @@ Kirigami.Page {
}
background: Rectangle {
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: false
color: Config.compactLayout ? Kirigami.Theme.backgroundColor : "transparent"
}