@eohjsc/react-native-smart-city 0.4.71 → 0.4.73
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,5 +1,5 @@
|
|
|
1
1
|
import React, { memo, useCallback, useMemo } from 'react';
|
|
2
|
-
import { StyleSheet, TouchableOpacity, View } from 'react-native';
|
|
2
|
+
import { Platform, StyleSheet, TouchableOpacity, View } from 'react-native';
|
|
3
3
|
import Routes from '../../utils/Route';
|
|
4
4
|
import { IconOutline } from '@ant-design/icons-react-native';
|
|
5
5
|
import { useNavigation } from '@react-navigation/native';
|
|
@@ -126,7 +126,9 @@ const ItemDevice = memo(
|
|
|
126
126
|
semibold
|
|
127
127
|
size={14}
|
|
128
128
|
color={Colors.Gray9}
|
|
129
|
-
style={
|
|
129
|
+
style={
|
|
130
|
+
Platform.OS === 'ios' ? styles.lineHeight22 : styles.marginBottom
|
|
131
|
+
}
|
|
130
132
|
>
|
|
131
133
|
{title}
|
|
132
134
|
</Text>
|
|
@@ -161,6 +163,9 @@ const styles = StyleSheet.create({
|
|
|
161
163
|
justifyContent: 'space-between',
|
|
162
164
|
alignItems: 'center',
|
|
163
165
|
},
|
|
166
|
+
marginBottom: {
|
|
167
|
+
marginBottom: 8,
|
|
168
|
+
},
|
|
164
169
|
lineHeight22: {
|
|
165
170
|
lineHeight: 22,
|
|
166
171
|
},
|