Commit 26e16ba5 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(MainWindow/Contacts): call correctly `setView` with contact parameter

parent a9d8d970
......@@ -155,7 +155,9 @@ ColumnLayout {
ActionButton {
icon: 'chat'
onClicked: window.setView('Conversation')
onClicked: window.setView('Conversation', {
contact: $contact
})
}
}
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment