Fixed redundant comparison
This commit is contained in:
parent
3a2bb40117
commit
70144eb06f
1 changed files with 0 additions and 4 deletions
|
|
@ -202,8 +202,6 @@ Item {
|
|||
return Color.mOnError
|
||||
if (model.isActive || model.isOccupied)
|
||||
return Color.mOnSecondary
|
||||
if (model.isUrgent)
|
||||
return Color.mOnError
|
||||
|
||||
return Color.mOnSurface
|
||||
}
|
||||
|
|
@ -219,8 +217,6 @@ Item {
|
|||
return Color.mError
|
||||
if (model.isActive || model.isOccupied)
|
||||
return Color.mSecondary
|
||||
if (model.isUrgent)
|
||||
return Color.mError
|
||||
|
||||
return Color.mOutline
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue