react-crud-mobile 1.3.103 → 1.3.104
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/dist/react-crud-mobile.cjs.development.js +9 -7
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +9 -7
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/SafeView.tsx +2 -1
|
@@ -2287,6 +2287,7 @@ function UIInclude(props) {
|
|
|
2287
2287
|
function SafeView(props) {
|
|
2288
2288
|
var _theme$colors;
|
|
2289
2289
|
var theme = ThemeUtils.getCurrentTheme();
|
|
2290
|
+
//v2
|
|
2290
2291
|
if (Utils.isEmpty(theme)) {
|
|
2291
2292
|
theme = useTheme();
|
|
2292
2293
|
}
|
|
@@ -2295,16 +2296,17 @@ function SafeView(props) {
|
|
|
2295
2296
|
Keyboard.dismiss();
|
|
2296
2297
|
}
|
|
2297
2298
|
};
|
|
2298
|
-
return /*#__PURE__*/
|
|
2299
|
-
children:
|
|
2300
|
-
barStyle: "dark-content"
|
|
2301
|
-
}), /*#__PURE__*/jsx(SafeAreaView$1, {
|
|
2299
|
+
return /*#__PURE__*/jsx(SafeAreaProvider, {
|
|
2300
|
+
children: /*#__PURE__*/jsxs(SafeAreaView$1, {
|
|
2302
2301
|
style: _extends({
|
|
2303
2302
|
backgroundColor: (_theme$colors = theme.colors) == null ? void 0 : _theme$colors.theme
|
|
2304
2303
|
}, props.viewStyle, {
|
|
2305
2304
|
flex: 1
|
|
2306
2305
|
}),
|
|
2307
|
-
children: /*#__PURE__*/jsx(
|
|
2306
|
+
children: [/*#__PURE__*/jsx(StatusBar, {
|
|
2307
|
+
barStyle: "dark-content",
|
|
2308
|
+
backgroundColor: "#f5f5f5"
|
|
2309
|
+
}), /*#__PURE__*/jsx(KeyboardAvoidingView, {
|
|
2308
2310
|
behavior: Platform.OS === 'ios' ? 'padding' : 'height',
|
|
2309
2311
|
style: {
|
|
2310
2312
|
flex: 1,
|
|
@@ -2317,8 +2319,8 @@ function SafeView(props) {
|
|
|
2317
2319
|
children: props.children
|
|
2318
2320
|
})
|
|
2319
2321
|
})
|
|
2320
|
-
})
|
|
2321
|
-
})
|
|
2322
|
+
})]
|
|
2323
|
+
})
|
|
2322
2324
|
});
|
|
2323
2325
|
}
|
|
2324
2326
|
|