mg-library 1.0.407 → 1.0.408

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 +10 -5
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -32,6 +32,11 @@ export function MGWelcome(props) {
32
32
 
33
33
  let listHeaderComponent = (
34
34
  <View>
35
+ {props.beforeNotices != undefined &&
36
+ <>
37
+ {props.beforeNotices}
38
+ </>
39
+ }
35
40
  <MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
36
41
  {companyInfoComponent}
37
42
  <MGDivider />
@@ -144,8 +149,8 @@ export function MGLogin(props) {
144
149
  style={{ width: 300, height: 150 }} />
145
150
  {!isKeyboardVisible &&
146
151
  <View style={{ flexDirection: 'column', alignItems: 'center' }}>
147
- <Text style={{alignSelf: 'center'}} category='h6'>{props.appDescription}</Text>
148
- <Text style={{alignSelf: 'center'}} category='p2'>{props.appVersion}</Text>
152
+ <Text style={{ alignSelf: 'center' }} category='h6'>{props.appDescription}</Text>
153
+ <Text style={{ alignSelf: 'center' }} category='p2'>{props.appVersion}</Text>
149
154
  </View>
150
155
  }
151
156
  </View>
@@ -246,9 +251,9 @@ export function MGCurrentAccount(props) {
246
251
  }
247
252
 
248
253
  export function MGCamera(props) {
249
- let camera;
250
- let captureWidth = 205;
251
- let captureHeight = 275;
254
+ let camera;
255
+ let captureWidth = 205;
256
+ let captureHeight = 275;
252
257
  const __takePicture = async () => {
253
258
  if (!camera)
254
259
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.407",
3
+ "version": "1.0.408",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {