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.
This commit is contained in:
Pascal Precht 2021-12-06 13:03:57 +01:00 committed by r4bbit.eth
parent b92ac455c9
commit b57bb21e13
1 changed files with 1 additions and 1 deletions

View File

@ -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