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 { ...@@ -155,7 +155,9 @@ ColumnLayout {
ActionButton { ActionButton {
icon: 'chat' icon: 'chat'
onClicked: window.setView('Conversation') onClicked: window.setView('Conversation', {
contact: $contact
})
} }
} }
......
...@@ -39,9 +39,11 @@ ApplicationWindow { ...@@ -39,9 +39,11 @@ ApplicationWindow {
height: MainWindowStyle.toolBar.height height: MainWindowStyle.toolBar.height
RowLayout { RowLayout {
anchors.fill: parent anchors {
anchors.leftMargin: MainWindowStyle.toolBar.leftMargin fill: parent
anchors.rightMargin: MainWindowStyle.toolBar.rightMargin leftMargin: MainWindowStyle.toolBar.leftMargin
rightMargin: MainWindowStyle.toolBar.rightMargin
}
spacing: MainWindowStyle.toolBar.spacing spacing: MainWindowStyle.toolBar.spacing
Collapse { 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