@sbaiahmed1/react-native-blur 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,7 +88,7 @@ class ReactNativeBlurView : BlurViewGroup {
88
88
  super.setOverlayColor(currentOverlayColor)
89
89
  super.setDownsampleFactor(6.0F)
90
90
 
91
- super.clipChildren = true
91
+ clipChildren = true
92
92
 
93
93
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
94
94
  super.setBackgroundColor(currentOverlayColor)
@@ -287,14 +287,14 @@ class ReactNativeBlurView : BlurViewGroup {
287
287
  )
288
288
 
289
289
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
290
- super.rootView.outlineProvider = object : ViewOutlineProvider() {
290
+ rootView.outlineProvider = object : ViewOutlineProvider() {
291
291
  @RequiresApi(Build.VERSION_CODES.LOLLIPOP)
292
292
  override fun getOutline(view: View, outline: Outline?) {
293
293
  outline?.setRoundRect(0, 0, view.width, view.height, radiusInPixels)
294
294
  }
295
295
  }
296
296
 
297
- super.clipToOutline = true
297
+ clipToOutline = true
298
298
  }
299
299
 
300
300
  super.setCornerRadius(radiusInPixels)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sbaiahmed1/react-native-blur",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "React native modern blur view",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",