mg-library 1.0.406 → 1.0.407
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 +4 -8
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useCallback, useState, useEffect } from 'react';
|
2
2
|
import { useForm, Controller } from 'react-hook-form';
|
3
|
-
import { View, ActivityIndicator, Pressable, Image, FlatList, Keyboard
|
3
|
+
import { View, ActivityIndicator, Pressable, Image, FlatList, Keyboard } from 'react-native';
|
4
4
|
import { Text, Divider, Button, Popover, Card, Layout, Input } from '@ui-kitten/components';
|
5
5
|
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
|
6
6
|
import * as ImageManipulator from 'expo-image-manipulator';
|
@@ -246,13 +246,9 @@ export function MGCurrentAccount(props) {
|
|
246
246
|
}
|
247
247
|
|
248
248
|
export function MGCamera(props) {
|
249
|
-
let camera;
|
250
|
-
|
251
|
-
|
252
|
-
//275
|
253
|
-
let captureWidth = Dimensions.get('window').width * 0.60;
|
254
|
-
let captureHeight = Dimensions.get('window').height * 0.60;
|
255
|
-
|
249
|
+
let camera;
|
250
|
+
let captureWidth = 205;
|
251
|
+
let captureHeight = 275;
|
256
252
|
const __takePicture = async () => {
|
257
253
|
if (!camera)
|
258
254
|
return;
|