@eohjsc/react-native-smart-city 0.4.1 → 0.4.2

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
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.4.01",
4
+ "version": "0.4.02",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -52,13 +52,13 @@ const ChangePosition = () => {
52
52
  const renderItem = ({ item, index, drag, isActive }) => {
53
53
  return (
54
54
  <View style={styles.widgetItem}>
55
- <View style={styles.disableSensor} />
56
55
  <View style={styles.itemOrder}>
57
56
  <TouchableOpacity style={styles.indexOrder} onPressIn={drag}>
58
57
  <Text type="H4">{index + 1}</Text>
59
58
  <ReOrder />
60
59
  </TouchableOpacity>
61
60
  <View style={styles.wrapOrder}>
61
+ <View style={styles.disableSensor} />
62
62
  <View style={styles.widgetOrder}>
63
63
  <SensorDisplayItem
64
64
  isWidgetOrder
@@ -28,6 +28,7 @@ export default StyleSheet.create({
28
28
  zIndex: 1000,
29
29
  },
30
30
  wrapOrder: {
31
+ position: 'relative',
31
32
  paddingTop: 16,
32
33
  flex: 1,
33
34
  width: 'auto',
@@ -35,7 +36,6 @@ export default StyleSheet.create({
35
36
  },
36
37
  widgetItem: {
37
38
  backgroundColor: Colors.White,
38
- position: 'relative',
39
39
  alignItems: 'center',
40
40
  justifyContent: 'center',
41
41
  marginBottom: 20,