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 {
230230 const layoutView = this . layoutView ;
231231 if ( layoutView . setBoxStrokeColorStateList ) {
232232 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 ;
234234 const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
235235 layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
236236 }
@@ -240,7 +240,7 @@ export class TextView extends TextViewBase {
240240 const color = value instanceof Color ? value . android : value ;
241241 const layoutView = this . layoutView ;
242242 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 ;
244244 const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
245245 const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
246246 if ( colorStateList ) {
You can’t perform that action at this time.
0 commit comments