@fto-consult/expo-ui 2.13.1 → 2.13.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.13.1",
3
+ "version": "2.13.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/App.js CHANGED
@@ -87,6 +87,7 @@ export default function getIndex(options){
87
87
  },
88
88
  isVisible() {
89
89
  /* Customize the visibility state detector */
90
+ return false;
90
91
  return isScreenFocusedRef.current;
91
92
  },
92
93
  initFocus(callback) {
@@ -142,7 +142,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
142
142
  showProgressRef.current = showProgress ? typeof showProgress ==='boolean' : false;
143
143
  if(isFetchingRef.current) return;
144
144
  refreshCBRef.current = ()=>{
145
- showProgressRef.current = false;
145
+ //showProgressRef.current = false;
146
146
  };
147
147
  refresh();
148
148
  }
@@ -51,7 +51,7 @@ export default function DatabaseStatisticContainer (props){
51
51
  }
52
52
  },[]);
53
53
  React.useEffect(()=>{
54
- refresh();
54
+ //refresh();
55
55
  },[props])
56
56
  const {isLoading,count} = state;
57
57
  return <Item