1
1
diff --git a/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt b/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt
2
- index 83884d8..5d9e989 100644
2
+ index 6e566fc..82416a1 100644
3
3
--- a/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt
4
4
+++ b/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt
5
- @@ -99,12 +99,12 @@ class EdgeToEdgeReactViewGroup(private val reactContext: ThemedReactContext) : R
5
+ @@ -117,11 +117,11 @@ class EdgeToEdgeReactViewGroup(private val reactContext: ThemedReactContext) : R
6
6
}
7
7
8
8
private fun goToEdgeToEdge(edgeToEdge: Boolean) {
@@ -11,29 +11,41 @@ index 83884d8..5d9e989 100644
11
11
- it.window,
12
12
- !edgeToEdge,
13
13
- )
14
- - }
15
- + // reactContext.currentActivity?.let {
16
- + // WindowCompat.setDecorFitsSystemWindows(
17
- + // it.window,
18
- + // !edgeToEdge,
19
- + // )
20
- + // }
14
+ + // reactContext.currentActivity?.let {
15
+ + // WindowCompat.setDecorFitsSystemWindows(
16
+ + // it.window,
17
+ + // !edgeToEdge,
18
+ + // )
19
+ }
21
20
}
22
21
23
- private fun setupKeyboardCallbacks() {
24
- @@ -158,13 +158,13 @@ class EdgeToEdgeReactViewGroup(private val reactContext: ThemedReactContext) : R
22
+ @@ -169,16 +169,16 @@ class EdgeToEdgeReactViewGroup(private val reactContext: ThemedReactContext) : R
25
23
// region State managers
26
24
private fun enable() {
27
25
this.goToEdgeToEdge(true)
28
26
- this.setupWindowInsets()
29
27
+ // this.setupWindowInsets()
30
28
this.setupKeyboardCallbacks()
29
+ - modalAttachedWatcher.enable()
30
+ + // modalAttachedWatcher.enable()
31
31
}
32
32
33
33
private fun disable() {
34
34
this.goToEdgeToEdge(false)
35
35
- this.setupWindowInsets()
36
36
+ // this.setupWindowInsets()
37
37
this.removeKeyboardCallbacks()
38
+ - modalAttachedWatcher.disable()
39
+ + // modalAttachedWatcher.disable()
40
+ }
41
+ // endregion
42
+
43
+ @@ -206,7 +206,7 @@ class EdgeToEdgeReactViewGroup(private val reactContext: ThemedReactContext) : R
44
+ fun forceStatusBarTranslucent(isStatusBarTranslucent: Boolean) {
45
+ if (active && this.isStatusBarTranslucent != isStatusBarTranslucent) {
46
+ this.isStatusBarTranslucent = isStatusBarTranslucent
47
+ - this.setupWindowInsets()
48
+ + // this.setupWindowInsets()
49
+ this.requestApplyInsetsWhenAttached()
50
+ }
38
51
}
39
- // endregion
0 commit comments