diff --git a/Linphone/view/Item/Contact/Contact.qml b/Linphone/view/Item/Contact/Contact.qml index ec103225a..d113ac4ae 100644 --- a/Linphone/view/Item/Contact/Contact.qml +++ b/Linphone/view/Item/Contact/Contact.qml @@ -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 } } } diff --git a/external/linphone-sdk b/external/linphone-sdk index d07e85507..f771d655e 160000 --- a/external/linphone-sdk +++ b/external/linphone-sdk @@ -1 +1 @@ -Subproject commit d07e85507cb6ddba7fe397f5fc699835516945aa +Subproject commit f771d655e30169e59d8b3736d4e2a30e52e29f18