mg-library 1.0.463 → 1.0.465
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/blocks.js +16 -17
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -452,26 +452,25 @@ export function MGCamera(props) {
|
|
452
452
|
</View>
|
453
453
|
);
|
454
454
|
return (
|
455
|
-
<View style={{ flex: 1, flexDirection: 'column', justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
|
455
|
+
<View style={{ flex: 1, flexDirection: 'column', justifyContent: 'flex-start', alignContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
|
456
456
|
<Text>{mgFunctionsLib.i18nString('doTakePhoto', props.language)}</Text>
|
457
457
|
</View>
|
458
458
|
)
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
</
|
471
|
-
</
|
472
|
-
</
|
473
|
-
|
474
|
-
) */
|
459
|
+
/* return (
|
460
|
+
<View style={{ flex: 1, justifyContent: 'flex-start', backgroundColor: 'red', alignItems: 'center' }}>
|
461
|
+
<Card header={cardHeader} footer={cardFooter}>
|
462
|
+
<View style={{ alignItems: 'center' }}>
|
463
|
+
<CameraView
|
464
|
+
style={{ width: captureWidth, height: captureHeight }}
|
465
|
+
facing={facing}
|
466
|
+
ref={(r) => {
|
467
|
+
camera = r
|
468
|
+
}}>
|
469
|
+
</CameraView>
|
470
|
+
</View>
|
471
|
+
</Card>
|
472
|
+
</View>
|
473
|
+
) */
|
475
474
|
}
|
476
475
|
|
477
476
|
export function MGCameraPreview(props) {
|