Skip to content

Commit

Permalink
Add frame back to device list
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlSchwan authored and albertvaka committed Oct 10, 2024
1 parent 89f950c commit 03d8e3c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions kcm/list.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,18 @@ ScrollView {

property alias model: devices.model

Component.onCompleted: {
if (background) {
background.visible = true
}
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: false

background: Rectangle {
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.cornerRadius

border.color: Kirigami.ColorUtils.linearInterpolation(
Kirigami.Theme.backgroundColor,
Kirigami.Theme.textColor,
Kirigami.Theme.frameContrast
)
}

ListView {
Expand Down

0 comments on commit 03d8e3c

Please sign in to comment.