mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 09:46:38 +00:00
fix: fix binding loop in message count
This commit is contained in:
parent
e3dc0469e2
commit
99d5a46073
@ -66,9 +66,10 @@ RowLayout {
|
||||
anchors.topMargin: -5
|
||||
radius: 9
|
||||
color: Style.current.blue
|
||||
width: chatsModel.unreadMessagesCount < 10 ? 18 : childrenRect.width + 10
|
||||
width: chatsModel.unreadMessagesCount < 10 ? 18 : messageCount.width + 10
|
||||
height: 18
|
||||
Text {
|
||||
id: messageCount
|
||||
font.pixelSize: chatsModel.unreadMessagesCount > 99 ? 10 : 12
|
||||
color: Style.current.white
|
||||
anchors.centerIn: parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user