change message limit count to 99+
This commit is contained in:
parent
77cf450d20
commit
3662a938c9
|
@ -165,7 +165,7 @@ Rectangle {
|
|||
visible: (unviewedMessagesCount > 0) || wrapper.hasMentions
|
||||
StyledText {
|
||||
id: contactNumberChats
|
||||
text: wrapper.hasMentions ? '@' : (wrapper.unviewedMessagesCount < 100 ? wrapper.unviewedMessagesCount : "+99")
|
||||
text: wrapper.hasMentions ? '@' : (wrapper.unviewedMessagesCount < 100 ? wrapper.unviewedMessagesCount : "99+")
|
||||
font.pixelSize: 12
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
|
|
@ -112,7 +112,7 @@ RowLayout {
|
|||
font.pixelSize: chatsModel.unreadMessagesCount > 99 ? 10 : 12
|
||||
color: Style.current.white
|
||||
anchors.centerIn: parent
|
||||
text: chatsModel.unreadMessagesCount > 99 ? "+99" : chatsModel.unreadMessagesCount
|
||||
text: chatsModel.unreadMessagesCount > 99 ? "99+" : chatsModel.unreadMessagesCount
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue