@eohjsc/react-native-smart-city 0.4.72 → 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>
|
|
@@ -164,6 +166,9 @@ const styles = StyleSheet.create({
|
|
|
164
166
|
marginBottom: {
|
|
165
167
|
marginBottom: 8,
|
|
166
168
|
},
|
|
169
|
+
lineHeight22: {
|
|
170
|
+
lineHeight: 22,
|
|
171
|
+
},
|
|
167
172
|
lineHeight20: {
|
|
168
173
|
lineHeight: 20,
|
|
169
174
|
},
|