mg-library 1.0.456 → 1.0.457

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 +2 -2
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -432,8 +432,8 @@ export function MGCamera(props) {
432
432
  status='primary'
433
433
  accessoryLeft={FlipIcon}
434
434
  onPress={() => {
435
- setType(
436
- type === Camera.Constants.Type.back ? Camera.Constants.Type.front : Camera.Constants.Type.back
435
+ setFacing(
436
+ facing === 'back' ? 'front' : 'back'
437
437
  )
438
438
  }}>
439
439
  <Text>{mgFunctionsLib.i18nString('doInvertCamera', props.language)}</Text>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.456",
3
+ "version": "1.0.457",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {