Skip to content

Commit 3879838

Browse files
DanielAraldisbaiahmed1
authored andcommitted
refactor(android): small adjusts in JSDoc and setBlurType call at onConfigurationChanged method
1 parent 6d5a183 commit 3879838

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeBlurView.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,9 @@ class ReactNativeBlurView : BlurViewGroup {
490490
override fun onConfigurationChanged(newConfig: Configuration) {
491491
super.onConfigurationChanged(newConfig)
492492

493-
setBlurType(currentBlurType)
493+
if (viewType == "blur") {
494+
// Re-apply blur type to update overlay color based on new configuration
495+
setBlurType(currentBlurType)
496+
}
494497
}
495498
}

src/LiquidGlassView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface LiquidGlassViewProps {
1212
*
1313
* @default 'clear'
1414
*
15-
* @platform iOS
15+
* @platform iOS 26+
1616
*/
1717
glassType?: GlassType;
1818

0 commit comments

Comments
 (0)