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
|
-
|
|
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