mg-library 1.0.395 → 1.0.397

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 (3) hide show
  1. package/blocks.js +2 -2
  2. package/login.js +1 -2
  3. 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: 287, height: 385 } }],
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: 287, height: 385 }}
307
+ style={{ width: 205, height: 275 }}
308
308
  type={type}
309
309
  ref={(r) => {
310
310
  camera = r
package/login.js CHANGED
@@ -21,8 +21,7 @@ export function onPressLogin(dispatch, actions, app, apiUrl, language, data) {
21
21
  })
22
22
  .catch(error => {
23
23
  dispatch(actions.apiError());
24
- // mgFunctionsLib.showToastError(mgFunctionsLib.i18nMessage('credentialsInvalid', language));
25
- mgFunctionsLib.showToastError(error.message + ' / ' + error.code);
24
+ mgFunctionsLib.showToastError(mgFunctionsLib.i18nMessage('credentialsInvalid', language));
26
25
  })
27
26
  }
28
27
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.395",
3
+ "version": "1.0.397",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {