Skip to content

Commit

Permalink
Revert "Fix circular dependencies animatorset (#75)" (#138)
Browse files Browse the repository at this point in the history
This reverts commit ae961f2.
  • Loading branch information
michalchudziak authored and wojteg1337 committed Nov 26, 2019
1 parent 7218f07 commit efd4fa3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public ReactSlider(Context context, @Nullable AttributeSet attrs, int style) {
private void disableStateListAnimatorIfNeeded() {
// We disable the state list animator for Android 6 and 7; this is a hack to prevent T37452851
// and https://github.com/facebook/react-native/issues/9979

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
&& Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
super.setStateListAnimator(null);
}
}
Expand Down

0 comments on commit efd4fa3

Please sign in to comment.