@@ -140,21 +140,21 @@ export class TextField extends TextFieldBase {
140
140
[ placeholderColorProperty . setNative ] ( value : Color ) {
141
141
const placeholderColor = value instanceof Color ? value . android : value ;
142
142
const floatingColor = this . floatingColor instanceof Color ? this . floatingColor . android : placeholderColor ;
143
- this . layoutView . setHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
143
+ this . layoutView . setDefaultHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
144
144
}
145
145
146
146
[ floatingColorProperty . setNative ] ( value : Color ) {
147
147
const floatingColor = value instanceof Color ? value . android : value ;
148
148
const placeholderColor = this . floatingInactiveColor instanceof Color ? this . floatingInactiveColor . android : undefined ;
149
- this . layoutView . setDefaultHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
149
+ this . layoutView . setHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
150
150
}
151
151
152
152
[ floatingInactiveColorProperty . setNative ] ( value : Color ) {
153
153
const floatingInactiveColor = value instanceof Color ? value . android : value ;
154
154
155
155
const primaryColor = themer . getPrimaryColor ( ) ;
156
156
const floatingColor = this . floatingColor || ( primaryColor instanceof Color ? primaryColor : new Color ( primaryColor ) ) ;
157
- this . layoutView . setDefaultHintTextColor ( getFullColorStateList ( floatingColor instanceof Color ? floatingColor . android : floatingColor , floatingInactiveColor ) ) ;
157
+ this . layoutView . setHintTextColor ( getFullColorStateList ( floatingColor instanceof Color ? floatingColor . android : floatingColor , floatingInactiveColor ) ) ;
158
158
}
159
159
[ helperColorProperty . setNative ] ( value ) {
160
160
const color = value instanceof Color ? value . android : value ;
0 commit comments