fix(ui): use proper color for badge border

This commit is contained in:
Pascal Precht 2021-04-13 12:17:32 +02:00 committed by Pascal Precht
parent 46fd32aaee
commit 5d59cb3870
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ Column {
anchors.topMargin: 5
radius: height / 2
color: Style.current.blue
border.color: profileBtn.hovered ? Style.current.secondaryBackground : Style.current.background
border.color: profileBtn.hovered ? Style.current.secondaryBackground : Style.current.mainMenuBackground
border.width: 2
width: 14
height: 14

View File

@ -429,7 +429,7 @@ RowLayout {
anchors.topMargin: 1
radius: height / 2
color: Style.current.blue
border.color: chatBtn.hovered ? Style.current.secondaryBackground : Style.current.background
border.color: chatBtn.hovered ? Style.current.secondaryBackground : Style.current.mainMenuBackground
border.width: 2
width: chatsModel.unreadMessagesCount < 10 ? 22 : messageCount.width + 14
height: 22