Fix missed call bubble.
Update SDK.
This commit is contained in:
parent
577aee8c98
commit
a69f8a6832
2 changed files with 5 additions and 5 deletions
|
|
@ -99,11 +99,12 @@ Rectangle{
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 10 * DefaultStyle.dp
|
anchors.leftMargin: 10 * DefaultStyle.dp
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
visible: unreadCount.text > 0
|
property int unread: mainItem.account.core.unreadNotifications
|
||||||
|
visible: unread > 0
|
||||||
width: 22 * DefaultStyle.dp
|
width: 22 * DefaultStyle.dp
|
||||||
height: 22 * DefaultStyle.dp
|
height: 22 * DefaultStyle.dp
|
||||||
radius: width/2
|
radius: width/2
|
||||||
color: DefaultStyle.danger_500main
|
color: DefaultStyle.danger_500
|
||||||
border.color: DefaultStyle.grey_0
|
border.color: DefaultStyle.grey_0
|
||||||
border.width: 2 * DefaultStyle.dp
|
border.width: 2 * DefaultStyle.dp
|
||||||
Text{
|
Text{
|
||||||
|
|
@ -116,8 +117,7 @@ Rectangle{
|
||||||
minimumPixelSize: 5
|
minimumPixelSize: 5
|
||||||
fontSizeMode: Text.Fit
|
fontSizeMode: Text.Fit
|
||||||
font.pixelSize: 20 * DefaultStyle.dp
|
font.pixelSize: 20 * DefaultStyle.dp
|
||||||
property var unread: mainItem.account.core.unreadNotifications
|
text: parent.unread > 100 ? '+' : parent.unread
|
||||||
text: unread > 100 ? '+' : unread
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
external/linphone-sdk
vendored
2
external/linphone-sdk
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit d07e85507cb6ddba7fe397f5fc699835516945aa
|
Subproject commit f771d655e30169e59d8b3736d4e2a30e52e29f18
|
||||||
Loading…
Reference in a new issue