mg-library 1.0.571 → 1.0.572
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 +15 -17
- package/package.json +1 -1
package/blocks.js
CHANGED
|
@@ -575,16 +575,9 @@ export function MGCamera(props) {
|
|
|
575
575
|
<View style={{ flex: 1, alignItems: 'center' }}>
|
|
576
576
|
|
|
577
577
|
<NBButton
|
|
578
|
-
style={{ width: 150 }}
|
|
579
|
-
py={4}
|
|
580
|
-
colorScheme="primary"
|
|
578
|
+
style={{ width: 150 }} py={4} colorScheme="primary"
|
|
581
579
|
leftIcon={
|
|
582
|
-
<NBIcon
|
|
583
|
-
as={MaterialCommunityIcons}
|
|
584
|
-
name="camera-flip-outline"
|
|
585
|
-
size="lg"
|
|
586
|
-
color="white"
|
|
587
|
-
/>
|
|
580
|
+
<NBIcon as={MaterialCommunityIcons} name="camera-flip-outline" size="lg" color="white" />
|
|
588
581
|
}
|
|
589
582
|
onPress={() => {
|
|
590
583
|
setFacing(
|
|
@@ -601,13 +594,18 @@ export function MGCamera(props) {
|
|
|
601
594
|
|
|
602
595
|
</View>
|
|
603
596
|
<View style={{ flex: 1, alignItems: 'center' }}>
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
597
|
+
|
|
598
|
+
<NBButton
|
|
599
|
+
style={{ width: 150 }} py={4} colorScheme="primary"
|
|
600
|
+
leftIcon={
|
|
601
|
+
<NBIcon as={MaterialCommunityIcons} name="camera-outline" size="lg" color="white" />
|
|
602
|
+
}
|
|
603
|
+
onPress={__takePicture}>
|
|
604
|
+
<MGText category="p1" color="white">
|
|
605
|
+
{mgFunctionsLib.i18nString('doTakePhoto', props.language)}
|
|
606
|
+
</MGText>
|
|
607
|
+
</NBButton>
|
|
608
|
+
|
|
611
609
|
</View>
|
|
612
610
|
</View>
|
|
613
611
|
</View>
|
|
@@ -773,7 +771,7 @@ export function MGGoBack(props) {
|
|
|
773
771
|
<NBIcon
|
|
774
772
|
as={MaterialCommunityIcons}
|
|
775
773
|
name='keyboard-backspace'
|
|
776
|
-
size='
|
|
774
|
+
size='2xl'
|
|
777
775
|
color={props.theme['color-primary-500']}
|
|
778
776
|
/>
|
|
779
777
|
</NBButton>
|