Fix missed call bubble.

Update SDK.
This commit is contained in:
Julien Wadel 2023-12-08 09:43:51 +01:00
parent 577aee8c98
commit a69f8a6832
2 changed files with 5 additions and 5 deletions

View file

@ -99,11 +99,12 @@ Rectangle{
anchors.left: parent.left
anchors.leftMargin: 10 * DefaultStyle.dp
anchors.verticalCenter: parent.verticalCenter
visible: unreadCount.text > 0
property int unread: mainItem.account.core.unreadNotifications
visible: unread > 0
width: 22 * DefaultStyle.dp
height: 22 * DefaultStyle.dp
radius: width/2
color: DefaultStyle.danger_500main
color: DefaultStyle.danger_500
border.color: DefaultStyle.grey_0
border.width: 2 * DefaultStyle.dp
Text{
@ -116,8 +117,7 @@ Rectangle{
minimumPixelSize: 5
fontSizeMode: Text.Fit
font.pixelSize: 20 * DefaultStyle.dp
property var unread: mainItem.account.core.unreadNotifications
text: unread > 100 ? '+' : unread
text: parent.unread > 100 ? '+' : parent.unread
}
}
}

@ -1 +1 @@
Subproject commit d07e85507cb6ddba7fe397f5fc699835516945aa
Subproject commit f771d655e30169e59d8b3736d4e2a30e52e29f18