mirror of https://github.com/status-im/StatusQ.git
fix(StatusListItem): ensure icon background in secondary type works correctly
This commit is contained in:
parent
de2c36d0e9
commit
34b35318bc
|
@ -224,6 +224,12 @@ GridLayout {
|
|||
]
|
||||
}
|
||||
|
||||
StatusListItem {
|
||||
title: "Title"
|
||||
icon.name: "info"
|
||||
type: StatusListItem.Type.Secondary
|
||||
}
|
||||
|
||||
StatusDescriptionListItem {
|
||||
title: "Title"
|
||||
subTitle: "Subtitle"
|
||||
|
|
|
@ -37,9 +37,9 @@ Rectangle {
|
|||
background: StatusIconBackgroundSettings {
|
||||
width: 40
|
||||
height: 40
|
||||
color: type === StatusListItem.Type.Primary ?
|
||||
Theme.palette.primaryColor3 :
|
||||
"transparent"
|
||||
color: sensor.containsMouse && type === StatusListItem.Type.Secondary ?
|
||||
"transparent" :
|
||||
Theme.palette.primaryColor3
|
||||
}
|
||||
}
|
||||
property StatusImageSettings image: StatusImageSettings {
|
||||
|
|
Loading…
Reference in New Issue