@eohjsc/react-native-smart-city 0.4.80 → 0.4.81
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
|
@@ -21,7 +21,6 @@ import MenuActionMore from '../../../commons/MenuActionMore';
|
|
|
21
21
|
import Add from '../../../../assets/images/Add.svg';
|
|
22
22
|
import { useNavigation, useRoute } from '@react-navigation/native';
|
|
23
23
|
import { axiosGet, axiosPost } from '../../../utils/Apis/axios';
|
|
24
|
-
import FImage from '../../../commons/FImage';
|
|
25
24
|
import Routes from '../../../utils/Route';
|
|
26
25
|
import { ToastBottomHelper } from '../../../utils/Utils';
|
|
27
26
|
import ItemAutomate from '../../../commons/Automate/ItemAutomate';
|
|
@@ -31,6 +30,7 @@ import RenameScript from './Components/RenameScript';
|
|
|
31
30
|
import DeleteScript from './Components/DeleteScript';
|
|
32
31
|
import Images from '../../../configs/Images';
|
|
33
32
|
import { useBackendPermission } from '../../../utils/Permission/backend';
|
|
33
|
+
import IconComponent from '../../../commons/IconComponent';
|
|
34
34
|
|
|
35
35
|
const PreventDoubleTouch = withPreventDoubleClick(TouchableOpacity);
|
|
36
36
|
|
|
@@ -265,9 +265,9 @@ const Item = ({ item, index }) => {
|
|
|
265
265
|
</Text>
|
|
266
266
|
</View>
|
|
267
267
|
<View style={styles.rightItem}>
|
|
268
|
-
<
|
|
269
|
-
|
|
270
|
-
style={styles.
|
|
268
|
+
<IconComponent
|
|
269
|
+
icon={item?.sensor_icon_kit}
|
|
270
|
+
style={styles.iconEndDevice}
|
|
271
271
|
/>
|
|
272
272
|
<View style={styles.contentItem}>
|
|
273
273
|
<View style={styles.titleItem}>
|