Use different colors for different subaccounts

This commit is contained in:
rating89us
2022-09-25 11:12:38 +02:00
committed by malinero
parent 57fefba386
commit b801ef594b
22 changed files with 24 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ Rectangle {
anchors.leftMargin: 20
height: parent.height
width: 2
color: button.checked ? MoneroComponents.Style.buttonBackgroundColor : "transparent"
color: button.checked ? MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length] : "transparent"
// button text
MoneroComponents.TextPlain {