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

@@ -120,7 +120,7 @@ Rectangle {
width: 260
height: 135
fillMode: Image.PreserveAspectFit
source: MoneroComponents.Style.blackTheme ? "qrc:///images/card-background-black.png" : "qrc:///images/card-background-white.png"
source: MoneroComponents.Style.blackTheme ? "qrc:///images/card-background-black" + (currentAccountIndex % MoneroComponents.Style.accountColors.length) + ".png" : "qrc:///images/card-background-white.png"
}
DropShadow {