Fix unread indicator "appear" animation
This commit is contained in:
parent
0a1834b763
commit
cb1a5865cc
|
@ -52,10 +52,13 @@ HTileDelegate {
|
|||
rightPadding: leftPadding
|
||||
|
||||
scale: model.unreads === 0 ? 0 : 1
|
||||
visible: scale > 0
|
||||
|
||||
background: Rectangle {
|
||||
color: model.mentions === 0 ? theme.colors.unreadBackground : theme.colors.alertBackground
|
||||
color:
|
||||
model.mentions === 0 ?
|
||||
theme.colors.unreadBackground :
|
||||
theme.colors.alertBackground
|
||||
|
||||
radius: theme.radius / 4
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user