@@ -140,21 +140,21 @@ export class TextField extends TextFieldBase {
140140 [ placeholderColorProperty . setNative ] ( value : Color ) {
141141 const placeholderColor = value instanceof Color ? value . android : value ;
142142 const floatingColor = this . floatingColor instanceof Color ? this . floatingColor . android : placeholderColor ;
143- this . layoutView . setHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
143+ this . layoutView . setDefaultHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
144144 }
145145
146146 [ floatingColorProperty . setNative ] ( value : Color ) {
147147 const floatingColor = value instanceof Color ? value . android : value ;
148148 const placeholderColor = this . floatingInactiveColor instanceof Color ? this . floatingInactiveColor . android : undefined ;
149- this . layoutView . setDefaultHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
149+ this . layoutView . setHintTextColor ( getFullColorStateList ( floatingColor , placeholderColor ) ) ;
150150 }
151151
152152 [ floatingInactiveColorProperty . setNative ] ( value : Color ) {
153153 const floatingInactiveColor = value instanceof Color ? value . android : value ;
154154
155155 const primaryColor = themer . getPrimaryColor ( ) ;
156156 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 ) ) ;
158158 }
159159 [ helperColorProperty . setNative ] ( value ) {
160160 const color = value instanceof Color ? value . android : value ;
0 commit comments