Merge pull request #3641

d8fb9ec Transfer: use defaultFontColor for text cursor when address field is blank (rating89us)
This commit is contained in:
luigi1111 2021-07-26 15:37:47 -04:00
commit 51828babbb
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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