@fto-consult/expo-ui 7.8.4 → 7.8.5

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": "7.8.4",
3
+ "version": "7.8.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -71,7 +71,7 @@
71
71
  "@expo/html-elements": "^0.5.1",
72
72
  "@expo/vector-icons": "^13.0.0",
73
73
  "@faker-js/faker": "^8.0.2",
74
- "@fto-consult/common": "^3.75.1",
74
+ "@fto-consult/common": "^3.75.2",
75
75
  "@fto-consult/electron-gen": "^1.3.5",
76
76
  "@pchmn/expo-material3-theme": "^1.3.1",
77
77
  "@react-native-async-storage/async-storage": "1.18.2",
@@ -40,11 +40,10 @@ export default function UserProfileScreen({fields,...p}){
40
40
  if(typeof changeElectronAppUrlPerm ==='string'){
41
41
  return Auth.isAllowedFromStr(changeElectronAppUrlPerm);
42
42
  } else if(typeof changeElectronAppUrlPerm =='function'){
43
- return !!canChangeElectronAppUrl(props);
43
+ return !!changeElectronAppUrlPerm(props);
44
44
  }
45
45
  return Auth.isMasterAdmin();
46
-
47
- },[changeElectronAppUrlPerm])
46
+ },[changeElectronAppUrlPerm]);
48
47
  const user = defaultObj(props.user,Auth.getLoggedUser());
49
48
  const testID = defaultStr(props.testID,"RN_UserProfile_FormData");
50
49
  const themeRef = React.useRef(defaultObj(user.theme));
@@ -107,7 +106,7 @@ export default function UserProfileScreen({fields,...p}){
107
106
  }
108
107
  navigate('Home');
109
108
  }).catch(e=>{
110
- console.log(e," is ssssssssssssssssss");
109
+ console.log(e," settings profile data");
111
110
  }).finally(()=>{
112
111
  setTimeout(()=>{
113
112
  Preloader.close();