diff --git a/tests/ui/views/App/MainWindow/Contacts.qml b/tests/ui/views/App/MainWindow/Contacts.qml index 410fd5312..80034e778 100644 --- a/tests/ui/views/App/MainWindow/Contacts.qml +++ b/tests/ui/views/App/MainWindow/Contacts.qml @@ -155,7 +155,9 @@ ColumnLayout { ActionButton { icon: 'chat' - onClicked: window.setView('Conversation') + onClicked: window.setView('Conversation', { + contact: $contact + }) } } diff --git a/tests/ui/views/App/MainWindow/MainWindow.qml b/tests/ui/views/App/MainWindow/MainWindow.qml index b54f8e387..38bb81962 100644 --- a/tests/ui/views/App/MainWindow/MainWindow.qml +++ b/tests/ui/views/App/MainWindow/MainWindow.qml @@ -39,9 +39,11 @@ ApplicationWindow { height: MainWindowStyle.toolBar.height RowLayout { - anchors.fill: parent - anchors.leftMargin: MainWindowStyle.toolBar.leftMargin - anchors.rightMargin: MainWindowStyle.toolBar.rightMargin + anchors { + fill: parent + leftMargin: MainWindowStyle.toolBar.leftMargin + rightMargin: MainWindowStyle.toolBar.rightMargin + } spacing: MainWindowStyle.toolBar.spacing Collapse {