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
(cherry picked from commit a4d6f51)
  • Loading branch information
leticiarossi committed Aug 11, 2022
1 parent 048c35d commit a5f8e93
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 a5f8e93

Please sign in to comment.