Skip to content

Commit

Permalink
[CheckBox] Fixed icon color not updating correctly in light mode in p…
Browse files Browse the repository at this point in the history
…re 21.

PiperOrigin-RevId: 465411407
  • Loading branch information
leticiarossi authored and dsn5ft committed Aug 5, 2022
1 parent 745acfd commit a4d6f51
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -260,6 +260,10 @@ protected int[] onCreateDrawableState(int extraSpace) {

currentStateChecked = DrawableUtils.getCheckedState(drawableStates);

if (VERSION.SDK_INT < VERSION_CODES.LOLLIPOP) {
jumpDrawablesToCurrentState();
}

return drawableStates;
}

Expand Down

0 comments on commit a4d6f51

Please sign in to comment.