@@ -208,7 +208,8 @@ export class TextView extends TextViewBase {
208
208
const color = value instanceof Color ? value . android : value ;
209
209
if ( this . layoutView . setBoxStrokeColorStateList ) {
210
210
const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : this . layoutView . getBoxStrokeColor ( ) ;
211
- const colorStateList = getFullColorStateList ( activeColor , color ) ;
211
+ const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
212
+ const colorStateList = getFullColorStateList ( activeColor , color , disabledColor ) ;
212
213
this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
213
214
}
214
215
}
@@ -217,7 +218,8 @@ export class TextView extends TextViewBase {
217
218
const color = value instanceof Color ? value . android : value ;
218
219
if ( this . layoutView . setBoxStrokeColorStateList ) {
219
220
const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : this . layoutView . getBoxStrokeColor ( ) ;
220
- const colorStateList = getFullColorStateList ( activeColor , color ) ;
221
+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
222
+ const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
221
223
this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
222
224
}
223
225
}
@@ -226,7 +228,8 @@ export class TextView extends TextViewBase {
226
228
const color = value instanceof Color ? value . android : value ;
227
229
if ( this . layoutView . setBoxStrokeColorStateList ) {
228
230
const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
229
- const colorStateList = getFullColorStateList ( color , inactiveColor ) ;
231
+ const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
232
+ const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
230
233
this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
231
234
} else {
232
235
this . layoutView . setBoxStrokeColor ( color ) ;
0 commit comments