fix(ChatContextMenu): fix delete chanenl icon which happens to be upside down

This commit is contained in:
Pascal Precht 2021-08-27 11:38:14 +02:00 committed by Iuri Matias
parent 9af32a1796
commit 118b21543c
1 changed files with 2 additions and 2 deletions

View File

@ -123,8 +123,8 @@ StatusPopupMenu {
qsTrId("leave-chat")
}
icon.name: chatItem && chatItem.chatType === Constants.chatTypeOneToOne || communityActive ? "delete" : "arrow-right"
icon.width: chatItem && chatItem.chatType === Constants.chatTypeOneToOne ? 18 : 14
iconRotation: chatItem && chatItem.chatType === Constants.chatTypeOneToOne ? 0 : 180
icon.width: chatItem && chatItem.chatType === Constants.chatTypeOneToOne || communityActive ? 18 : 14
iconRotation: chatItem && chatItem.chatType === Constants.chatTypeOneToOne || communityActive ? 0 : 180
type: StatusMenuItem.Type.Danger
onTriggered: {