chore(@qml): add object names for memberListItem and checkBox

This commit is contained in:
Anastasiya Semenkevich 2024-11-05 11:43:50 +03:00 committed by Anastasiya
parent d6d546739d
commit 1b2f4f3c94
2 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,7 @@ Item {
}
delegate: StatusMemberListItem {
objectName: "statusMemberListItem-%1".arg(model.compressedPubKey)
width: contactListView.availableWidth
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
isContact: model.isContact
@ -101,6 +102,7 @@ Item {
StatusCheckBox {
id: contactCheckbox
objectName: "contactCheckbox-%1".arg(model.displayName)
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
checked: root.pubKeys.indexOf(model.pubKey) > -1

View File

@ -34,6 +34,7 @@ Item {
}
delegate: StatusMemberListItem {
objectName: "statusMemberListItem-%1".arg(model.compressedPubKey)
width: contactGridView.cellWidth
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
isContact: model.isContact