From b57bb21e132c83cd975bf89767c4ea440903b1c6 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Mon, 6 Dec 2021 13:03:57 +0100 Subject: [PATCH] fix(StatusChatInput): ensure anchors of textfield are set correctly This broke when we removed timeline support. Most likely because `profileImage` is undefined, the entire expression fails, leaving `anchors.left` `undefined`, causing the text area to be slammed to the right. --- ui/imports/shared/status/StatusChatInput.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/imports/shared/status/StatusChatInput.qml b/ui/imports/shared/status/StatusChatInput.qml index e656058133..db1e9a85e4 100644 --- a/ui/imports/shared/status/StatusChatInput.qml +++ b/ui/imports/shared/status/StatusChatInput.qml @@ -846,7 +846,7 @@ Rectangle { id: scrollView anchors.top: parent.top anchors.bottom: parent.bottom - anchors.left: profileImage.visible ? profileImage.right : parent.left + anchors.left: parent.left anchors.leftMargin: Style.current.smallPadding anchors.right: actions.left anchors.rightMargin: Style.current.halfPadding