mg-library 1.0.395 → 1.0.396
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 +2 -2
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -240,7 +240,7 @@ export function MGCamera(props) {
|
|
240
240
|
props.dispatch(props.actions.startProcessing());
|
241
241
|
photo = await ImageManipulator.manipulateAsync(
|
242
242
|
photo.uri,
|
243
|
-
[{ resize: { width:
|
243
|
+
[{ resize: { width: 205, height: 275 } }],
|
244
244
|
{ compress: 1, format: ImageManipulator.SaveFormat.JPEG }
|
245
245
|
);
|
246
246
|
photo = await ImageManipulator.manipulateAsync(
|
@@ -304,7 +304,7 @@ export function MGCamera(props) {
|
|
304
304
|
<Card header={cardHeader} footer={cardFooter}>
|
305
305
|
<View style={{ alignItems: 'center' }}>
|
306
306
|
<Camera
|
307
|
-
style={{ width:
|
307
|
+
style={{ width: 205, height: 275 }}
|
308
308
|
type={type}
|
309
309
|
ref={(r) => {
|
310
310
|
camera = r
|