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 {
232
232
[ strokeColorProperty . setNative ] ( value : Color | string ) {
233
233
const color = value ? ( value instanceof Color ? value . android : new Color ( value ) . android ) : null ;
234
234
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 ;
236
236
const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
237
237
const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
238
238
this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
@@ -255,7 +255,7 @@ export class TextField extends TextFieldBase {
255
255
const color = value ? ( value instanceof Color ? value . android : new Color ( value ) . android ) : null ;
256
256
if ( this . layoutView . setBoxStrokeColorStateList ) {
257
257
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 ;
259
259
const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
260
260
this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
261
261
}
You can’t perform that action at this time.
0 commit comments