Skip to content

Commit efd4fa3

Browse files
michalchudziakwojteg1337
authored andcommitted
Revert "Fix circular dependencies animatorset (#75)" (#138)
This reverts commit ae961f2.
1 parent 7218f07 commit efd4fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/android/src/main/java/com/reactnativecommunity/slider/ReactSlider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public ReactSlider(Context context, @Nullable AttributeSet attrs, int style) {
6868
private void disableStateListAnimatorIfNeeded() {
6969
// We disable the state list animator for Android 6 and 7; this is a hack to prevent T37452851
7070
// and https://github.com/facebook/react-native/issues/9979
71-
72-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
71+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
72+
&& Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
7373
super.setStateListAnimator(null);
7474
}
7575
}

0 commit comments

Comments
 (0)