react-crud-mobile 1.0.912 → 1.0.914

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.
@@ -1397,6 +1397,10 @@ function UIModal(props) {
1397
1397
  var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');
1398
1398
  scope.put('scrollRef', scrollRef);
1399
1399
  reactCrudUtils.ComponentUtils.setViewScope(scope);
1400
+ var color = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
1401
+ var defaults = {
1402
+ color: color
1403
+ };
1400
1404
  return /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
1401
1405
  animationType: "slide",
1402
1406
  transparent: true,
@@ -1414,11 +1418,11 @@ function UIModal(props) {
1414
1418
  children: /*#__PURE__*/jsxRuntime.jsx(Ionicons, {
1415
1419
  name: "chevron-back-outline",
1416
1420
  size: 24,
1417
- color: "white",
1418
- style: style('modalCloseText')
1421
+ color: color,
1422
+ style: style('modalCloseText', defaults)
1419
1423
  })
1420
1424
  }), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1421
- style: style('modalTitle'),
1425
+ style: style('modalTitle', defaults),
1422
1426
  children: label
1423
1427
  }), !reactCrudUtils.Utils.isEmpty(headerRight) && /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
1424
1428
  scope: scope,
@@ -1467,15 +1471,13 @@ var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
1467
1471
  },
1468
1472
  modalTitle: {
1469
1473
  fontSize: 18,
1470
- color: 'white',
1471
1474
  fontWeight: 'bold',
1472
1475
  marginLeft: 10
1473
1476
  },
1474
1477
  modalContent: {
1475
1478
  flex: 1,
1476
1479
  backgroundColor: 'background',
1477
- paddingHorizontal: 16,
1478
- paddingVertical: 20
1480
+ padding: 10
1479
1481
  }
1480
1482
  });
1481
1483
 
@@ -1548,8 +1550,7 @@ function UIView(_ref) {
1548
1550
  }
1549
1551
  var styles$9 = /*#__PURE__*/reactNative.StyleSheet.create({
1550
1552
  scroll: {
1551
- paddingHorizontal: 16,
1552
- paddingVertical: 20
1553
+ padding: 10
1553
1554
  },
1554
1555
  container: {},
1555
1556
  view: {}