uiux(Communities): use proper icon for "leave community" menu item

This commit is contained in:
Pascal Precht 2021-04-20 11:19:08 +02:00 committed by Iuri Matias
parent 5016091df7
commit e63db9a21c
2 changed files with 6 additions and 3 deletions

View File

@ -62,9 +62,9 @@ ListView {
}
Action {
text: qsTr("Leave Community")
icon.source: "../../../img/edit.svg"
icon.width: 20
icon.height: 20
icon.source: "../../../img/arrow-left.svg"
icon.width: 12
icon.height: 9
onTriggered: {
chatsModel.communities.leaveCommunity(commnunityMenu.communityId)
}

View File

@ -0,0 +1,3 @@
<svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.0203 1.35355C5.21556 1.15829 5.21556 0.841709 5.0203 0.646447C4.82504 0.451184 4.50846 0.451184 4.31319 0.646447L0.313195 4.64645C0.117933 4.84171 0.117933 5.15829 0.313195 5.35355L4.31319 9.35355C4.50846 9.54882 4.82504 9.54882 5.0203 9.35355C5.21556 9.15829 5.21556 8.84171 5.0203 8.64645L2.44289 6.06904C2.2329 5.85905 2.38162 5.5 2.67859 5.5H11.3334C11.6096 5.5 11.8334 5.27614 11.8334 5C11.8334 4.72386 11.6096 4.5 11.3334 4.5H2.67859C2.38162 4.5 2.2329 4.14095 2.44289 3.93096L5.0203 1.35355Z" fill="#4360DF"/>
</svg>

After

Width:  |  Height:  |  Size: 632 B