react-crud-mobile 1.0.608 → 1.0.609

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.
@@ -705,13 +705,6 @@ function UIList(props) {
705
705
  var getStyle = function getStyle(key, extra) {
706
706
  return scope.getStyle(key, _extends({}, extra, styles[key]));
707
707
  };
708
- var getRowStyle = function getRowStyle(extra) {
709
- var row = getStyle('row', {});
710
- if (cols > 0) {
711
- row.width = rowWidth;
712
- }
713
- return row;
714
- };
715
708
  var getContainerStyle = function getContainerStyle(extra) {
716
709
  var row = getStyle('container', {});
717
710
  if (cols > 1) {
@@ -758,6 +751,13 @@ function UIList(props) {
758
751
  var item = _ref.item,
759
752
  index = _ref.index,
760
753
  children = _ref.children;
754
+ var getRowStyle = function getRowStyle() {
755
+ var row = scope.getStyle('row', _extends({}, styles.row));
756
+ if (cols > 0) {
757
+ row.width = rowWidth;
758
+ }
759
+ return row;
760
+ };
761
761
  if (!original.click) {
762
762
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
763
763
  style: getRowStyle(),