Fix unread indicator "appear" animation

This commit is contained in:
miruka 2020-04-16 13:36:47 -04:00
parent 0a1834b763
commit cb1a5865cc

View File

@ -52,10 +52,13 @@ HTileDelegate {
rightPadding: leftPadding rightPadding: leftPadding
scale: model.unreads === 0 ? 0 : 1 scale: model.unreads === 0 ? 0 : 1
visible: scale > 0
background: Rectangle { 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 radius: theme.radius / 4
} }