Skip to content

Commit

Permalink
fix(android): update types
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman committed Sep 23, 2023
1 parent bd7b608 commit 7b9823a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import eightbitlab.com.blurview.BlurView
import eightbitlab.com.blurview.RenderEffectBlur
import eightbitlab.com.blurview.RenderScriptBlur

class BlurViewViewManager : SimpleViewManager<View>() {
class BlurViewViewManager : SimpleViewManager<BlurView>() {
override fun getName() = "BlurViewView"

private var blurReduction = 4f
private var blurRadius = 50f

override fun createViewInstance(reactContext: ThemedReactContext): View {
override fun createViewInstance(reactContext: ThemedReactContext): BlurView {
val blurView = BlurView(reactContext.baseContext).also {
it.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
val decorView = reactContext.currentActivity
Expand Down

0 comments on commit 7b9823a

Please sign in to comment.