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.
@@ -492,20 +492,6 @@ function UIButton(props) {
492
492
  });
493
493
  }
494
494
 
495
- //import { ThemeUtils, Utils } from 'react-crud-utils';
496
- //import { StatusBar } from 'react-native';
497
- var MobileUtils = /*#__PURE__*/function () {
498
- function MobileUtils() {}
499
- MobileUtils.syncTheme = function syncTheme() {
500
- // let current = ThemeUtils.getCurrentTheme();
501
- //let dec: any = { light: 'light-content', dark: 'dark-content' };
502
- //let name = Utils.nvl(dec[current?.theme], dec.light);
503
- //StatusBar.setBarStyle?.(name);
504
- //StatusBar.setBackgroundColor?.(current?.colors?.theme);
505
- };
506
- return MobileUtils;
507
- }();
508
-
509
495
  function UISelect(props) {
510
496
  var _theme$styles, _theme$colors, _scope$original, _scope$original2;
511
497
  var _useState = React.useState(false),
@@ -547,9 +533,6 @@ function UISelect(props) {
547
533
  return modalVisible;
548
534
  };
549
535
  //v4
550
- React.useEffect(function () {
551
- MobileUtils.syncTheme();
552
- }, [modalVisible]);
553
536
  return /*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
554
537
  style: style('selectRoot'),
555
538
  children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.TouchableOpacity, {
@@ -1564,9 +1547,6 @@ function UIView(_ref) {
1564
1547
  children = _ref.children;
1565
1548
  var scrollRef = React.useRef(null);
1566
1549
  var original = scope.original;
1567
- React.useEffect(function () {
1568
- MobileUtils.syncTheme();
1569
- }, []);
1570
1550
  var onScroll = function onScroll() {
1571
1551
  var crud = reactCrudUtils.ViewUtils.getCrud();
1572
1552
  reactCrudUtils.Utils.each(crud.scroll, function (s) {