@eohjsc/react-native-smart-city 0.2.55 → 0.2.56
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
|
-
import Modal from 'react-native-modal';
|
|
4
3
|
|
|
4
|
+
import ModalCustom from '../../commons/Modal/ModalCustom';
|
|
5
5
|
import Text from '../../commons/Text';
|
|
6
6
|
import ViewButtonBottom from '../ViewButtonBottom';
|
|
7
7
|
import { Colors, Device } from '../../configs';
|
|
@@ -24,7 +24,7 @@ const AlertAction = ({
|
|
|
24
24
|
animatedStyle,
|
|
25
25
|
}) => {
|
|
26
26
|
return (
|
|
27
|
-
<
|
|
27
|
+
<ModalCustom
|
|
28
28
|
isVisible={visible}
|
|
29
29
|
onBackButtonPress={hideModal}
|
|
30
30
|
onBackdropPress={hideModal}
|
|
@@ -58,7 +58,7 @@ const AlertAction = ({
|
|
|
58
58
|
/>
|
|
59
59
|
</View>
|
|
60
60
|
</Animated.View>
|
|
61
|
-
</
|
|
61
|
+
</ModalCustom>
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
@@ -95,7 +95,6 @@ const ListSmartAccount = ({ route }) => {
|
|
|
95
95
|
},
|
|
96
96
|
[navigate, unitId]
|
|
97
97
|
);
|
|
98
|
-
|
|
99
98
|
return (
|
|
100
99
|
<View style={styles.wrap}>
|
|
101
100
|
<WrapHeaderScrollable
|
|
@@ -116,7 +115,7 @@ const ListSmartAccount = ({ route }) => {
|
|
|
116
115
|
})}
|
|
117
116
|
</View>
|
|
118
117
|
<AlertAction
|
|
119
|
-
visible={stateAlertRemove.visible && lockShowing}
|
|
118
|
+
visible={stateAlertRemove.visible && !lockShowing}
|
|
120
119
|
hideModal={hideAlertAction}
|
|
121
120
|
title={stateAlertRemove.title}
|
|
122
121
|
message={stateAlertRemove.message}
|
|
@@ -131,7 +130,7 @@ const ListSmartAccount = ({ route }) => {
|
|
|
131
130
|
listMenuItem={listMenuItem}
|
|
132
131
|
childRef={childRef}
|
|
133
132
|
onItemClick={onItemClick}
|
|
134
|
-
|
|
133
|
+
hideComplete={releaseLockShowing}
|
|
135
134
|
/>
|
|
136
135
|
</WrapHeaderScrollable>
|
|
137
136
|
</View>
|