Transfer: use defaultFontColor for text cursor when address field is blank

This commit is contained in:
rating89us 2021-07-25 20:09:52 +02:00 committed by GitHub
parent b6682330a6
commit d8fb9ec081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ Rectangle {
Layout.fillWidth: true
addressValidation: true
borderDisabled: true
fontColor: error ? MoneroComponents.Style.errorColor : MoneroComponents.Style.defaultFontColor
fontColor: error && text != "" ? MoneroComponents.Style.errorColor : MoneroComponents.Style.defaultFontColor
fontFamily: MoneroComponents.Style.fontMonoRegular.name
fontSize: 14
inputPaddingBottom: 0