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
|
@@ -2296,6 +2296,7 @@ function UIInclude(props) {
|
|
|
2296
2296
|
function SafeView(props) {
|
|
2297
2297
|
var _theme$colors;
|
|
2298
2298
|
var theme = reactCrudUtils.ThemeUtils.getCurrentTheme();
|
|
2299
|
+
//v2
|
|
2299
2300
|
if (reactCrudUtils.Utils.isEmpty(theme)) {
|
|
2300
2301
|
theme = reactCrudUtils.useTheme();
|
|
2301
2302
|
}
|
|
@@ -2304,16 +2305,17 @@ function SafeView(props) {
|
|
|
2304
2305
|
reactNative.Keyboard.dismiss();
|
|
2305
2306
|
}
|
|
2306
2307
|
};
|
|
2307
|
-
return /*#__PURE__*/jsxRuntime.
|
|
2308
|
-
children:
|
|
2309
|
-
barStyle: "dark-content"
|
|
2310
|
-
}), /*#__PURE__*/jsxRuntime.jsx(reactNativeSafeAreaContext.SafeAreaView, {
|
|
2308
|
+
return /*#__PURE__*/jsxRuntime.jsx(reactNativeSafeAreaContext.SafeAreaProvider, {
|
|
2309
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(reactNativeSafeAreaContext.SafeAreaView, {
|
|
2311
2310
|
style: _extends({
|
|
2312
2311
|
backgroundColor: (_theme$colors = theme.colors) == null ? void 0 : _theme$colors.theme
|
|
2313
2312
|
}, props.viewStyle, {
|
|
2314
2313
|
flex: 1
|
|
2315
2314
|
}),
|
|
2316
|
-
children: /*#__PURE__*/jsxRuntime.jsx(reactNative.
|
|
2315
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.StatusBar, {
|
|
2316
|
+
barStyle: "dark-content",
|
|
2317
|
+
backgroundColor: "#f5f5f5"
|
|
2318
|
+
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.KeyboardAvoidingView, {
|
|
2317
2319
|
behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height',
|
|
2318
2320
|
style: {
|
|
2319
2321
|
flex: 1,
|
|
@@ -2326,8 +2328,8 @@ function SafeView(props) {
|
|
|
2326
2328
|
children: props.children
|
|
2327
2329
|
})
|
|
2328
2330
|
})
|
|
2329
|
-
})
|
|
2330
|
-
})
|
|
2331
|
+
})]
|
|
2332
|
+
})
|
|
2331
2333
|
});
|
|
2332
2334
|
}
|
|
2333
2335
|
|