mg-library 1.0.408 → 1.0.410

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.
Files changed (2) hide show
  1. package/blocks.js +8 -4
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -32,14 +32,15 @@ export function MGWelcome(props) {
32
32
 
33
33
  let listHeaderComponent = (
34
34
  <View>
35
+ <MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
36
+ {companyInfoComponent}
37
+ <MGDivider />
35
38
  {props.beforeNotices != undefined &&
36
39
  <>
37
40
  {props.beforeNotices}
41
+ <MGDivider />
38
42
  </>
39
- }
40
- <MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
41
- {companyInfoComponent}
42
- <MGDivider />
43
+ }
43
44
  </View>
44
45
  );
45
46
 
@@ -505,6 +506,9 @@ export function MGFlatListHeader(props) {
505
506
  <View style={{ flexGrow: 1 }}>
506
507
  {props.sessionHeader}
507
508
  {props.goBack}
509
+ {props.beforeTitle != undefined &&
510
+ props.beforeTitle
511
+ }
508
512
  <View style={{ marginHorizontal: 10, marginBottom: 20, paddingHorizontal: 10, paddingVertical: 10, borderColor: props.theme['color-primary-500'], borderRadius: 10, borderStyle: 'solid', borderWidth: 1 }}>
509
513
  <Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
510
514
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.408",
3
+ "version": "1.0.410",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {