fix(AddAccountWithSeedModal): ensure AccountSelector is working

This commit is contained in:
Pascal Precht 2021-11-01 11:03:58 +01:00 committed by Iuri Matias
parent 848f21cd20
commit ca4c1904d8
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ ModalPopup {
passwordValidationError = "";
seedValidationError = "";
accountNameValidationError = "";
accountColorInput.selectedColor = Style.current.accountColors[Math.floor(Math.random() * Style.current.accountColors.length)]
accountColorInput.selectedColor = Theme.palette.accountColors[Math.floor(Math.random() * Theme.palette.accountColors.length)]
passwordInput.forceActiveFocus(Qt.MouseFocusReason)
}
@ -111,7 +111,7 @@ ModalPopup {
anchors.topMargin: marginBetweenInputs
anchors.left: parent.left
anchors.right: parent.right
model: Theme.current.accountColors
model: Theme.palette.accountColors
}
footer: StatusButton {