fix: group members context menu icons

Fixes #2381
This commit is contained in:
Richard Ramos 2021-04-27 13:26:13 -04:00 committed by Iuri Matias
parent cf361de1e0
commit b0a9a9ab06
1 changed files with 4 additions and 0 deletions

View File

@ -282,12 +282,16 @@ ModalPopup {
id: contextMenu
Action {
icon.source: "../../../img/make-admin.svg"
icon.width: 16
icon.height: 16
//% "Make Admin"
text: qsTrId("make-admin")
onTriggered: chatsModel.groups.makeAdmin(popup.channel.id, model.pubKey)
}
Action {
icon.source: "../../../img/remove-from-group.svg"
icon.width: 16
icon.height: 16
icon.color: Style.current.red
//% "Remove From Group"
text: qsTrId("remove-from-group")