diff --git a/src/StatusQ/Layout/StatusAppNavBar.qml b/src/StatusQ/Layout/StatusAppNavBar.qml
index 42ea12ec..eb5ede4c 100644
--- a/src/StatusQ/Layout/StatusAppNavBar.qml
+++ b/src/StatusQ/Layout/StatusAppNavBar.qml
@@ -47,8 +47,9 @@ Rectangle {
         anchors.top: parent.top
         anchors.topMargin: 48
         anchors.horizontalCenter: parent.horizontalCenter
-        height: statusAppNavBar.navBarChatButton.height
-        width: statusAppNavBar.navBarChatButton.width
+        height: visible ? statusAppNavBar.navBarChatButton.height : 0
+        width: visible ? statusAppNavBar.navBarChatButton.width : 0
+        visible: !!statusAppNavBar.navBarChatButton
     }
 
     Rectangle {