fix(StatusRoundButton): ensure disabled state uses correct background color

This commit is contained in:
Pascal Precht 2021-10-27 15:57:44 +02:00 committed by Michał Cieślak
parent d8745049da
commit 6959ec54aa
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ Rectangle {
property color disabledColor: { property color disabledColor: {
switch(statusRoundButton.type) { switch(statusRoundButton.type) {
case StatusRoundButton.Type.Primary: case StatusRoundButton.Type.Primary:
return Theme.palette.indirectColor1; return Theme.palette.baseColor2;
case StatusRoundButton.Type.Secondary: case StatusRoundButton.Type.Secondary:
return Theme.palette.baseColor1; return Theme.palette.baseColor1;
} }