mg-library 1.0.229 → 1.0.230
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 +1 -1
- package/welcome.js +17 -15
package/package.json
CHANGED
package/welcome.js
CHANGED
|
@@ -64,24 +64,22 @@ export function MGWelcome(props) {
|
|
|
64
64
|
*/
|
|
65
65
|
|
|
66
66
|
let companyInfoComponent = (
|
|
67
|
-
<
|
|
68
|
-
<
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</Card>
|
|
80
|
-
</View>
|
|
67
|
+
<Card style={styles.cardCompany}>
|
|
68
|
+
<CardItem style={styles.cardItemCompanyLogo}>
|
|
69
|
+
<Image source={{uri: props.session.company.logoUrl}} style={{width: 100, height: 100}} />
|
|
70
|
+
</CardItem>
|
|
71
|
+
<CardItem style={styles.cardItemCompanyInfo}>
|
|
72
|
+
<Text style={styles.textCompanyLegalName}>{props.session.company.legalName}</Text>
|
|
73
|
+
<Text style={styles.textCompanyInfo}>{props.session.company.address}</Text>
|
|
74
|
+
<Text style={styles.textCompanyInfo}>{props.session.company.city}, {props.session.company.province}</Text>
|
|
75
|
+
<Text style={styles.textCompanyInfo}>{props.session.company.phone}</Text>
|
|
76
|
+
<Text style={styles.textCompanyInfo}>{props.session.company.email}</Text>
|
|
77
|
+
</CardItem>
|
|
78
|
+
</Card>
|
|
81
79
|
)
|
|
82
80
|
|
|
83
81
|
let listHeaderComponent = (
|
|
84
|
-
<View>
|
|
82
|
+
<View style={styles.viewHeader}>
|
|
85
83
|
{companyInfoComponent}
|
|
86
84
|
<MGSubtitle text={mgFunctions.i18nString('notices', language)} />
|
|
87
85
|
</View>
|
|
@@ -147,6 +145,10 @@ function MGAttachedFiles(props) {
|
|
|
147
145
|
}
|
|
148
146
|
|
|
149
147
|
const styles = StyleSheet.create({
|
|
148
|
+
viewHeader: {
|
|
149
|
+
flex: 1,
|
|
150
|
+
flexDirection: 'row'
|
|
151
|
+
},
|
|
150
152
|
cardCompany: {
|
|
151
153
|
flex: 1,
|
|
152
154
|
flexDirection: 'row'
|