diff --git a/android/src/main/java/com/reactnativecommunity/blurview/BlurViewManager.java b/android/src/main/java/com/reactnativecommunity/blurview/BlurViewManager.java index c1f34a3..15cc966 100644 --- a/android/src/main/java/com/reactnativecommunity/blurview/BlurViewManager.java +++ b/android/src/main/java/com/reactnativecommunity/blurview/BlurViewManager.java @@ -37,7 +37,7 @@ class BlurViewManager extends ViewGroupManager { .getDecorView(); ViewGroup rootView = decorView.findViewById(android.R.id.content); Drawable windowBackground = decorView.getBackground(); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + if (Build.VERSION.SDK_INT >= 31) { blurView .setupWith(rootView, new RenderEffectBlur()) .setFrameClearDrawable(windowBackground)