fix: fix community header button in dark mode

This commit is contained in:
Jonathan Rainville 2021-02-22 14:00:08 -05:00 committed by Iuri Matias
parent f8704d7b64
commit c86f67b9f1
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ Button {
background: Rectangle {
id: btnBackground
radius: Style.current.radius
color: Style.current.transparent
}
contentItem: Item {
@ -55,7 +56,7 @@ Button {
onPressed: communityProfilePopup.open();
hoverEnabled: true
onExited: {
btnBackground.color = "transparent"
btnBackground.color = Style.current.transparent
}
onEntered: {
btnBackground.color = Style.current.backgroundHover