File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ export class TextField extends TextFieldBase {
232232 [ strokeColorProperty . setNative ] ( value : Color | string ) {
233233 const color = value ? ( value instanceof Color ? value . android : new Color ( value ) . android ) : null ;
234234 if ( this . layoutView . setBoxStrokeColorStateList ) {
235- const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
235+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : color ;
236236 const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
237237 const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
238238 this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
@@ -255,7 +255,7 @@ export class TextField extends TextFieldBase {
255255 const color = value ? ( value instanceof Color ? value . android : new Color ( value ) . android ) : null ;
256256 if ( this . layoutView . setBoxStrokeColorStateList ) {
257257 const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : this . layoutView . getBoxStrokeColor ( ) ;
258- const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
258+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : activeColor ;
259259 const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
260260 this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
261261 }
You can’t perform that action at this time.
0 commit comments