fix(StatusChatListItem): fix online status badge hover color

Fixes: #7755
This commit is contained in:
Lukáš Tinkl 2022-10-05 15:30:43 +02:00 committed by Lukáš Tinkl
parent 293981b0b2
commit 76d50b5b90
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ Rectangle {
badge {
visible: type === StatusChatListItem.Type.OneToOneChat
color: onlineStatus === StatusChatListItem.OnlineStatus.Online ? Theme.palette.successColor1 : Theme.palette.baseColor1
border.width: 1
border.color: root.color
border.width: 2
border.color: hoverHander.hovered ? Theme.palette.statusBadge.hoverBorderColor : root.color
implicitHeight: 9
implicitWidth: 9
}