fix: fix anchors for badge icon in profile button

This commit is contained in:
Pascal Precht 2020-10-28 11:15:39 +01:00
parent 7a4cc9227e
commit c273ee9bed
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ RowLayout {
anchors.left: parent.right
anchors.leftMargin: -10
anchors.topMargin: -5
radius: 9
radius: width / 2
color: Style.current.blue
width: chatsModel.unreadMessagesCount < 10 ? 18 : messageCount.width + 10
height: 18
@ -117,11 +117,11 @@ RowLayout {
Rectangle {
id: profileBadge
visible: !profileModel.isMnemonicBackedUp && sLayout.children[sLayout.currentIndex] !== profileLayoutContainer
anchors.top: image3.top
anchors.left: image3.right
anchors.top: parent.top
anchors.left: parent.right
anchors.leftMargin: -10
anchors.topMargin: -5
radius: 9
radius: width / 2
color: Style.current.blue
width: 18
height: 18