@fto-consult/expo-ui 1.4.2 → 1.4.4
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": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@expo/html-elements": "^0.2.0",
|
|
62
62
|
"@expo/metro-config": "^0.4.0",
|
|
63
63
|
"@expo/webpack-config": "^0.17.2",
|
|
64
|
-
"@fto-consult/common": "^1.7.
|
|
64
|
+
"@fto-consult/common": "^1.7.4",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
67
|
"@react-native-community/datetimepicker": "6.2.0",
|
|
@@ -67,7 +67,7 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,...props},ref)=>
|
|
|
67
67
|
onLongPress = {()=>{
|
|
68
68
|
appConfig.setDeviceName().then((r)=>{
|
|
69
69
|
if(deviceNameRef.current && deviceNameRef.current.update){
|
|
70
|
-
deviceNameRef.current.update(r);
|
|
70
|
+
deviceNameRef.current.update(r?("["+r+"]"):"");
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
}}
|
|
@@ -108,7 +108,7 @@ const UserProfileAvatarComponent = React.forwardRef(({drawerRef,...props},ref)=>
|
|
|
108
108
|
<Label splitText style={{fontSize:12,color:theme.colors.secondaryOnSurface,marginTop:6}}>
|
|
109
109
|
{label}
|
|
110
110
|
</Label>
|
|
111
|
-
{deviceName && <Label.withRef textBold splitText title={"Identifiant unique de l'application, installé sur cet appareil"} ref={deviceNameRef} secondary style={{fontSize:
|
|
111
|
+
{deviceName && <Label.withRef textBold splitText title={"Identifiant unique de l'application, installé sur cet appareil"} ref={deviceNameRef} secondary style={{fontSize:10}}>
|
|
112
112
|
[{deviceName}]
|
|
113
113
|
</Label.withRef> || null}
|
|
114
114
|
</View>
|