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 {
|
StatusDescriptionListItem {
|
||||||
title: "Title"
|
title: "Title"
|
||||||
subTitle: "Subtitle"
|
subTitle: "Subtitle"
|
||||||
|
|
|
@ -37,9 +37,9 @@ Rectangle {
|
||||||
background: StatusIconBackgroundSettings {
|
background: StatusIconBackgroundSettings {
|
||||||
width: 40
|
width: 40
|
||||||
height: 40
|
height: 40
|
||||||
color: type === StatusListItem.Type.Primary ?
|
color: sensor.containsMouse && type === StatusListItem.Type.Secondary ?
|
||||||
Theme.palette.primaryColor3 :
|
"transparent" :
|
||||||
"transparent"
|
Theme.palette.primaryColor3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
property StatusImageSettings image: StatusImageSettings {
|
property StatusImageSettings image: StatusImageSettings {
|
||||||
|
|
Loading…
Reference in New Issue