We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ced72 commit 09e77faCopy full SHA for 09e77fa
lib/java/com/google/android/material/chip/ChipDrawable.java
@@ -1326,10 +1326,10 @@ private void applyChildDrawable(@Nullable Drawable drawable) {
1326
drawable.setVisible(isVisible(), false);
1327
1328
if (drawable == closeIcon) {
1329
+ drawable.setTintList(closeIconTint); // call before `setState` to prevent state reset
1330
if (drawable.isStateful()) {
1331
drawable.setState(getCloseIconState());
1332
}
- drawable.setTintList(closeIconTint);
1333
return;
1334
1335
if (drawable == chipIcon && hasChipIconTint) {
0 commit comments