[#2398] Updating "leave community" button color

It should be red instead of blue

Closes #2398
This commit is contained in:
Alexandra Betouni 2021-07-13 16:32:54 +03:00 committed by Iuri Matias
parent 769ac7ee86
commit 78f7e0f4e0
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ Item {
//% "Leave community"
label: qsTrId("leave-community")
iconName: "leave"
type: globalSettings.theme === Universal.Dark ? "secondary" : "primary"
type: "warn"
txtColor: Style.current.red
onClicked: chatsModel.communities.leaveCommunity(communityId)
}
}