chore: add object names to actions
This commit is contained in:
parent
2949e5ccd4
commit
7914688769
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue