aboutsummaryrefslogtreecommitdiff
path: root/components/MenuButton.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2022-09-25 11:12:38 +0200
committermalinero <malinero@protonmail.com>2022-09-26 10:18:46 +0200
commitb801ef594b65053c473ba778552c2db4d020dd82 (patch)
tree9414ac99b263ff5611217041451fd5d92567334e /components/MenuButton.qml
parent57fefba3864502a48095df4b34fc38df06fcca4d (diff)
downloadmonzero-gui-b801ef594b65053c473ba778552c2db4d020dd82.tar.gz
monzero-gui-b801ef594b65053c473ba778552c2db4d020dd82.tar.xz
monzero-gui-b801ef594b65053c473ba778552c2db4d020dd82.zip
Use different colors for different subaccounts
Diffstat (limited to 'components/MenuButton.qml')
-rw-r--r--components/MenuButton.qml2
1 files changed, 1 insertions, 1 deletions
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 {