From 1b2f4f3c9446b35e57cdef37a6c2215720da3620 Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Tue, 5 Nov 2024 11:43:50 +0300 Subject: [PATCH] chore(@qml): add object names for memberListItem and checkBox --- ui/imports/shared/views/ExistingContacts.qml | 2 ++ ui/imports/shared/views/PickedContacts.qml | 1 + 2 files changed, 3 insertions(+) diff --git a/ui/imports/shared/views/ExistingContacts.qml b/ui/imports/shared/views/ExistingContacts.qml index 1b1c35c132..8627eb6ad2 100644 --- a/ui/imports/shared/views/ExistingContacts.qml +++ b/ui/imports/shared/views/ExistingContacts.qml @@ -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 diff --git a/ui/imports/shared/views/PickedContacts.qml b/ui/imports/shared/views/PickedContacts.qml index 08e5eaa9a9..d8580321aa 100644 --- a/ui/imports/shared/views/PickedContacts.qml +++ b/ui/imports/shared/views/PickedContacts.qml @@ -34,6 +34,7 @@ Item { } delegate: StatusMemberListItem { + objectName: "statusMemberListItem-%1".arg(model.compressedPubKey) width: contactGridView.cellWidth pubKey: model.isEnsVerified ? "" : model.compressedPubKey isContact: model.isContact