fix(StatusAppNavBar): don't try to render chat button if it doesn't exist
This commit is contained in:
parent
6c1cb965eb
commit
39f8eae65b
|
@ -47,8 +47,9 @@ Rectangle {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 48
|
anchors.topMargin: 48
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
height: statusAppNavBar.navBarChatButton.height
|
height: visible ? statusAppNavBar.navBarChatButton.height : 0
|
||||||
width: statusAppNavBar.navBarChatButton.width
|
width: visible ? statusAppNavBar.navBarChatButton.width : 0
|
||||||
|
visible: !!statusAppNavBar.navBarChatButton
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
Loading…
Reference in New Issue