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