This commit is contained in:
Richard Ramos 2020-12-01 18:04:30 -04:00 committed by Iuri Matias
parent 62d44cb7a9
commit 77cf450d20
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ Rectangle {
visible: (unviewedMessagesCount > 0) || wrapper.hasMentions visible: (unviewedMessagesCount > 0) || wrapper.hasMentions
StyledText { StyledText {
id: contactNumberChats id: contactNumberChats
text: wrapper.hasMentions ? '@' : (wrapper.unviewedMessagesCount < 100 ? wrapper.unviewedMessagesCount : "99") text: wrapper.hasMentions ? '@' : (wrapper.unviewedMessagesCount < 100 ? wrapper.unviewedMessagesCount : "+99")
font.pixelSize: 12 font.pixelSize: 12
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter

View File

@ -112,7 +112,7 @@ RowLayout {
font.pixelSize: chatsModel.unreadMessagesCount > 99 ? 10 : 12 font.pixelSize: chatsModel.unreadMessagesCount > 99 ? 10 : 12
color: Style.current.white color: Style.current.white
anchors.centerIn: parent anchors.centerIn: parent
text: chatsModel.unreadMessagesCount text: chatsModel.unreadMessagesCount > 99 ? "+99" : chatsModel.unreadMessagesCount
} }
} }
} }