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

View File

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