@sbaiahmed1/react-native-blur 3.1.1 → 3.1.2
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.
|
@@ -257,7 +257,8 @@ class ReactNativeBlurView : BlurView {
|
|
|
257
257
|
super.setBackgroundColor(originalBackgroundColor!!)
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
logDebug("Blur setup successful with root: ${root.javaClass.simpleName}")
|
|
260
|
+
logDebug("Blur setup successful with root: ${root.javaClass.simpleName}")
|
|
261
|
+
} catch (e: Exception) {
|
|
261
262
|
logWarning("Failed to setup blur algorithm: ${e.message}")
|
|
262
263
|
// Fallback: use semi-transparent overlay when blur is unsupported
|
|
263
264
|
super.setBackgroundColor(overlayColor)
|
|
@@ -301,6 +302,7 @@ class ReactNativeBlurView : BlurView {
|
|
|
301
302
|
// This avoids misidentifying containers in complex layouts
|
|
302
303
|
return current
|
|
303
304
|
}
|
|
305
|
+
}
|
|
304
306
|
current = current.parent
|
|
305
307
|
}
|
|
306
308
|
|