uiux(Chat): make entire contact item clickable when starting new chat
Closes #847
This commit is contained in:
parent
a9fe6eb3b2
commit
2cd6260515
|
@ -60,13 +60,6 @@ Rectangle {
|
|||
anchors.rightMargin: Style.current.padding
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: "../../../img/list-next.svg"
|
||||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
onItemChecked(pubKey, isChecked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
|
@ -94,4 +87,13 @@ Rectangle {
|
|||
anchors.top: accountImage.top
|
||||
anchors.topMargin: 10
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
anchors.fill: parent
|
||||
visible: !showCheckbox
|
||||
onClicked: {
|
||||
onItemChecked(pubKey, isChecked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue