react-crud-mobile 1.3.74 → 1.3.75

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.
@@ -483,20 +483,6 @@ function UIButton(props) {
483
483
  });
484
484
  }
485
485
 
486
- //import { ThemeUtils, Utils } from 'react-crud-utils';
487
- //import { StatusBar } from 'react-native';
488
- var MobileUtils = /*#__PURE__*/function () {
489
- function MobileUtils() {}
490
- MobileUtils.syncTheme = function syncTheme() {
491
- // let current = ThemeUtils.getCurrentTheme();
492
- //let dec: any = { light: 'light-content', dark: 'dark-content' };
493
- //let name = Utils.nvl(dec[current?.theme], dec.light);
494
- //StatusBar.setBarStyle?.(name);
495
- //StatusBar.setBackgroundColor?.(current?.colors?.theme);
496
- };
497
- return MobileUtils;
498
- }();
499
-
500
486
  function UISelect(props) {
501
487
  var _theme$styles, _theme$colors, _scope$original, _scope$original2;
502
488
  var _useState = useState(false),
@@ -538,9 +524,6 @@ function UISelect(props) {
538
524
  return modalVisible;
539
525
  };
540
526
  //v4
541
- useEffect(function () {
542
- MobileUtils.syncTheme();
543
- }, [modalVisible]);
544
527
  return /*#__PURE__*/jsxs(View, {
545
528
  style: style('selectRoot'),
546
529
  children: [/*#__PURE__*/jsxs(TouchableOpacity, {
@@ -1555,9 +1538,6 @@ function UIView(_ref) {
1555
1538
  children = _ref.children;
1556
1539
  var scrollRef = useRef(null);
1557
1540
  var original = scope.original;
1558
- useEffect(function () {
1559
- MobileUtils.syncTheme();
1560
- }, []);
1561
1541
  var onScroll = function onScroll() {
1562
1542
  var crud = ViewUtils.getCrud();
1563
1543
  Utils.each(crud.scroll, function (s) {