react-native-ui-lib 7.38.1-snapshot.6420 → 7.38.1-snapshot.6429
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.
package/package.json
CHANGED
package/src/commons/Constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Platform, Dimensions, NativeModules, I18nManager, AccessibilityInfo, StatusBar
|
|
1
|
+
import { Platform, Dimensions, NativeModules, I18nManager, AccessibilityInfo, StatusBar } from 'react-native';
|
|
2
2
|
export let orientations = /*#__PURE__*/function (orientations) {
|
|
3
3
|
orientations["PORTRAIT"] = "portrait";
|
|
4
4
|
orientations["LANDSCAPE"] = "landscape";
|
|
@@ -166,11 +166,7 @@ const constants = {
|
|
|
166
166
|
},
|
|
167
167
|
/* Keyboard */
|
|
168
168
|
backspaceKey: 'Backspace',
|
|
169
|
-
enterKey: 'Enter'
|
|
170
|
-
/* Font scale */
|
|
171
|
-
get fontScale() {
|
|
172
|
-
return PixelRatio.getFontScale();
|
|
173
|
-
}
|
|
169
|
+
enterKey: 'Enter'
|
|
174
170
|
};
|
|
175
171
|
setStatusBarHeight();
|
|
176
172
|
Dimensions.addEventListener('change', updateConstants);
|