We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4072a5a commit 2b7a135Copy full SHA for 2b7a135
android/src/main/java/com/candlefinance/blurview/BlurViewViewManager.kt
@@ -19,7 +19,7 @@ class BlurViewViewManager : SimpleViewManager<BlurView>() {
19
val blurView = BlurView(reactContext.baseContext).also {
20
it.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
21
val decorView = reactContext.currentActivity
22
- val rootView = decorView?.findViewById<BlurView>(R.id.blurView)
+ val rootView = decorView?.findViewById(android.R.id.content) as? ViewGroup
23
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
24
if (rootView != null) {
25
it.setupWith(rootView, RenderEffectBlur())
android/src/main/res/layout/layout.xml
0 commit comments