Updated main tap badge. Fixes #1619
This commit is contained in:
parent
78479749c6
commit
2de8faf5a5
|
@ -209,17 +209,11 @@ RowLayout {
|
|||
anchors.leftMargin: -16
|
||||
anchors.topMargin: 1
|
||||
radius: height / 2
|
||||
color: Style.current.white
|
||||
color: Style.current.blue
|
||||
border.color: Style.current.background
|
||||
border.width: 2
|
||||
width: chatsModel.unreadMessagesCount < 10 ? 22 : messageCount.width + 14
|
||||
height: 22
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: parent.width - 4
|
||||
height: parent.height - 4
|
||||
radius: height / 2
|
||||
color: Style.current.blue
|
||||
|
||||
Text {
|
||||
id: messageCount
|
||||
font.pixelSize: chatsModel.unreadMessagesCount > 99 ? 10 : 12
|
||||
|
@ -229,7 +223,6 @@ RowLayout {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StatusIconTabButton {
|
||||
id: walletBtn
|
||||
|
@ -263,26 +256,13 @@ RowLayout {
|
|||
anchors.top: parent.top
|
||||
anchors.left: parent.right
|
||||
anchors.leftMargin: -17
|
||||
anchors.topMargin: -2
|
||||
radius: height / 2
|
||||
color: Style.current.white
|
||||
width: 22
|
||||
height: 22
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: parent.width - 4
|
||||
height: parent.height - 4
|
||||
anchors.topMargin: 5
|
||||
radius: height / 2
|
||||
color: Style.current.blue
|
||||
|
||||
Text {
|
||||
font.pixelSize: 12
|
||||
color: Style.current.white
|
||||
anchors.centerIn: parent
|
||||
text: "1"
|
||||
}
|
||||
}
|
||||
border.color: Style.current.background
|
||||
border.width: 2
|
||||
width: 14
|
||||
height: 14
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue