mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-16 17:45:15 +00:00
fix(@wallet): disable state for refresh
in case not interactive, we should not change the color on hover
This commit is contained in:
parent
2a4e341f9d
commit
b2592d5d01
@ -93,7 +93,16 @@ Item {
|
||||
hoverColor: Theme.palette.baseColor2
|
||||
|
||||
icon.name: "refresh"
|
||||
icon.color: hovered ? Theme.palette.directColor1 : Theme.palette.baseColor1
|
||||
icon.color: {
|
||||
if (!interactive) {
|
||||
return Theme.palette.baseColor1;
|
||||
}
|
||||
if (hovered) {
|
||||
return Theme.palette.directColor1;
|
||||
}
|
||||
|
||||
return Theme.palette.baseColor1;
|
||||
}
|
||||
asset.mirror: true
|
||||
|
||||
loading: RootStore.isAccountTokensReloading
|
||||
|
Loading…
x
Reference in New Issue
Block a user