react-native-keyboard-controller 1.21.10 → 1.21.11

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.
@@ -23,7 +23,10 @@ internal class OverKeyboardHostShadowNode : LayoutShadowNode() {
23
23
  i: Int,
24
24
  ) {
25
25
  super.addChildAt(child, i)
26
- val displaySize = themedContext.getDisplaySize()
26
+ // intentionally use the explicit getter because newer RN Kotlin files no longer
27
+ // generate the property accessor, so Kotlin property access would fail to compile.
28
+ @Suppress("UsePropertyAccessSyntax")
29
+ val displaySize = getThemedContext().getDisplaySize()
27
30
  child.setStyleWidth(displaySize.x.toFloat())
28
31
  child.setStyleHeight(displaySize.y.toFloat())
29
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-keyboard-controller",
3
- "version": "1.21.10",
3
+ "version": "1.21.11",
4
4
  "description": "Keyboard manager which works in identical way on both iOS and Android",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",