chore: add object names to actions

This commit is contained in:
Anastasiya Semenkevich 2024-09-16 15:58:16 +03:00 committed by Anastasiya
parent 2949e5ccd4
commit 7914688769
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ StatusMenu {
} }
StatusAction { StatusAction {
objectName: "viewMembersStatusAction"
text: qsTr("View Members") text: qsTr("View Members")
icon.name: "group-chat" icon.name: "group-chat"
enabled: root.chatType === Constants.chatType.privateGroupChat enabled: root.chatType === Constants.chatType.privateGroupChat
@ -72,6 +73,7 @@ StatusMenu {
} }
StatusAction { StatusAction {
objectName: "copyChannelLinkStatusAction"
text: qsTr("Copy channel link") text: qsTr("Copy channel link")
icon.name: "copy" icon.name: "copy"
enabled: root.isCommunityChat enabled: root.isCommunityChat
@ -120,6 +122,7 @@ StatusMenu {
} }
StatusAction { StatusAction {
objectName: "muteChatStatusAction"
enabled: root.chatMuted enabled: root.chatMuted
text: root.isCommunityChat ? qsTr("Unmute Channel") : qsTr("Unmute Chat") text: root.isCommunityChat ? qsTr("Unmute Channel") : qsTr("Unmute Chat")
icon.name: "notification" icon.name: "notification"