From b801ef594b65053c473ba778552c2db4d020dd82 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sun, 25 Sep 2022 11:12:38 +0200 Subject: Use different colors for different subaccounts --- components/MenuButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/MenuButton.qml') diff --git a/components/MenuButton.qml b/components/MenuButton.qml index cd57ea9e..b9916f66 100644 --- a/components/MenuButton.qml +++ b/components/MenuButton.qml @@ -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 { -- cgit v1.2.3