mg-library 1.0.472 → 1.0.473

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 +4 -19
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -452,9 +452,9 @@ export function MGCamera(props) {
452
452
  </View>
453
453
  </View>
454
454
  );
455
- /* return (
456
- <View style={{ flex: 1, flexGrow: 0.8, justifyContent: 'flex-start', alignItems: 'center' }}>
457
- <Card style={{ flex: 1, flexGrow: 1 }} header={cardHeader} footer={cardFooter}>
455
+ return (
456
+ <View>
457
+ <Card header={cardHeader} footer={cardFooter}>
458
458
  <View style={{ alignItems: 'center' }}>
459
459
  <CameraView
460
460
  style={{ width: captureWidth, height: captureHeight }}
@@ -466,22 +466,7 @@ export function MGCamera(props) {
466
466
  </View>
467
467
  </Card>
468
468
  </View>
469
- ) */
470
- return (
471
- <View>
472
- <Card header={cardHeader} footer={cardFooter}>
473
- <View style={{ alignItems: 'center' }}>
474
- <CameraView
475
- style={{ width: captureWidth, height: captureHeight }}
476
- facing={facing}
477
- ref={(r) => {
478
- camera = r
479
- }}>
480
- </CameraView>
481
- </View>
482
- </Card>
483
- </View>
484
- )
469
+ )
485
470
  }
486
471
 
487
472
  export function MGCameraPreview(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.472",
3
+ "version": "1.0.473",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {