Skip to content

Commit

Permalink
fix(android): build issue on compileSdkVersion < 31 (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
artyorsh authored Aug 3, 2022
1 parent 2bbc512 commit 6273292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BlurViewManager extends ViewGroupManager<BlurView> {
.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)
Expand Down

0 comments on commit 6273292

Please sign in to comment.