mg-library 1.0.472 → 1.0.474
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 +5 -20
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -151,7 +151,7 @@ export function MGLogin(props) {
|
|
151
151
|
source={require('./assets/clubonline.png')}
|
152
152
|
style={{ width: 300, height: 150 }} />
|
153
153
|
{!isKeyboardVisible &&
|
154
|
-
<View style={{ flexDirection: 'column', flexGrow:
|
154
|
+
<View style={{ flexDirection: 'column', flexGrow: 0.8, alignItems: 'center' }}>
|
155
155
|
<Text style={{ alignSelf: 'center', textAlign: 'center' }} category='h6'>{props.appDescription}</Text>
|
156
156
|
<Text style={{ alignSelf: 'center' }} category='p2'>{props.appVersion}</Text>
|
157
157
|
</View>
|
@@ -452,9 +452,9 @@ export function MGCamera(props) {
|
|
452
452
|
</View>
|
453
453
|
</View>
|
454
454
|
);
|
455
|
-
|
456
|
-
<View
|
457
|
-
<Card
|
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) {
|