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 @@ -230,7 +230,7 @@ export class TextView extends TextViewBase {
230
230
const layoutView = this . layoutView ;
231
231
if ( layoutView . setBoxStrokeColorStateList ) {
232
232
const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : layoutView . getBoxStrokeColor ( ) ;
233
- const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
233
+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : activeColor ;
234
234
const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
235
235
layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
236
236
}
@@ -240,7 +240,7 @@ export class TextView extends TextViewBase {
240
240
const color = value instanceof Color ? value . android : value ;
241
241
const layoutView = this . layoutView ;
242
242
if ( layoutView . setBoxStrokeColorStateList ) {
243
- const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
243
+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : color ;
244
244
const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
245
245
const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
246
246
if ( colorStateList ) {
You can’t perform that action at this time.
0 commit comments