aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/Account.qml2
-rw-r--r--pages/Receive.qml3
2 files changed, 3 insertions, 2 deletions
diff --git a/pages/Account.qml b/pages/Account.qml
index b1410570..70c10c88 100644
--- a/pages/Account.qml
+++ b/pages/Account.qml
@@ -238,7 +238,7 @@ Rectangle {
Layout.fillHeight: true
anchors.top: parent.top
anchors.bottom: parent.bottom
- color: "darkgrey"
+ color: MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length]
width: 2
}
diff --git a/pages/Receive.qml b/pages/Receive.qml
index 8c3df3bf..fe655419 100644
--- a/pages/Receive.qml
+++ b/pages/Receive.qml
@@ -580,7 +580,8 @@ Rectangle {
Layout.fillHeight: true
anchors.top: parent.top
anchors.bottom: parent.bottom
- color: "darkgrey"
+ property int currentAccountIndex: currentWallet ? currentWallet.currentSubaddressAccount : 0
+ color: MoneroComponents.Style.accountColors[currentAccountIndex % MoneroComponents.Style.accountColors.length]
width: 2
}