mg-library 1.0.462 → 1.0.464

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 +19 -18
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -452,26 +452,27 @@ export function MGCamera(props) {
452
452
  </View>
453
453
  );
454
454
  return (
455
- <View style={{ flex: 1, justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
456
- <Text>{mgFunctionsLib.i18nString('doTakePhoto', props.language)}</Text>
455
+ <View style={{backgroundColor: 'green'}}>
456
+ <View style={{ flex: 1, flexDirection: 'column', justifyContent: 'flex-start', alignContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
457
+ <Text>{mgFunctionsLib.i18nString('doTakePhoto', props.language)}</Text>
458
+ </View>
457
459
  </View>
458
460
  )
459
-
460
- /* return (
461
- <View style={{ flex: 1, justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
462
- <Card header={cardHeader} footer={cardFooter}>
463
- <View style={{ alignItems: 'center' }}>
464
- <CameraView
465
- style={{ width: captureWidth, height: captureHeight }}
466
- facing={facing}
467
- ref={(r) => {
468
- camera = r
469
- }}>
470
- </CameraView>
471
- </View>
472
- </Card>
473
- </View>
474
- ) */
461
+ /* return (
462
+ <View style={{ flex: 1, justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
463
+ <Card header={cardHeader} footer={cardFooter}>
464
+ <View style={{ alignItems: 'center' }}>
465
+ <CameraView
466
+ style={{ width: captureWidth, height: captureHeight }}
467
+ facing={facing}
468
+ ref={(r) => {
469
+ camera = r
470
+ }}>
471
+ </CameraView>
472
+ </View>
473
+ </Card>
474
+ </View>
475
+ ) */
475
476
  }
476
477
 
477
478
  export function MGCameraPreview(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.462",
3
+ "version": "1.0.464",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {