|
@ -59,7 +59,7 @@ function RainSharingDataScreen(props) { |
|
|
<View style={styles.imgs_row}> |
|
|
<View style={styles.imgs_row}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(0)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(0)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 0 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 0 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -72,7 +72,7 @@ function RainSharingDataScreen(props) { |
|
|
|
|
|
|
|
|
<TouchableNativeFeedback onPress={() => setRain(1)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(1)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 1 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 1 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -85,7 +85,7 @@ function RainSharingDataScreen(props) { |
|
|
|
|
|
|
|
|
<TouchableNativeFeedback onPress={() => setRain(2)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(2)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 2 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 2 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -100,7 +100,7 @@ function RainSharingDataScreen(props) { |
|
|
<View style={styles.imgs_row}> |
|
|
<View style={styles.imgs_row}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(3)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(3)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 3 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 3 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -113,7 +113,7 @@ function RainSharingDataScreen(props) { |
|
|
|
|
|
|
|
|
<TouchableNativeFeedback onPress={() => setRain(4)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(4)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 4 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 4 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -126,7 +126,7 @@ function RainSharingDataScreen(props) { |
|
|
|
|
|
|
|
|
<TouchableNativeFeedback onPress={() => setRain(5)}> |
|
|
<TouchableNativeFeedback onPress={() => setRain(5)}> |
|
|
<View |
|
|
<View |
|
|
borderWidth={rain == 5 ? borderWidth : 0} |
|
|
|
|
|
|
|
|
borderColor={rain == 5 ? colors.primary : colors.white} |
|
|
style={styles.img_block} |
|
|
style={styles.img_block} |
|
|
> |
|
|
> |
|
|
<Image |
|
|
<Image |
|
@ -152,12 +152,14 @@ const dims = scaleDimsFromWidth(85, 85, 25); |
|
|
const styles = StyleSheet.create({ |
|
|
const styles = StyleSheet.create({ |
|
|
container: { |
|
|
container: { |
|
|
padding: 10, |
|
|
padding: 10, |
|
|
|
|
|
backgroundColor: colors.white, |
|
|
}, |
|
|
}, |
|
|
img_block: { |
|
|
img_block: { |
|
|
borderRadius: 5, |
|
|
borderRadius: 5, |
|
|
padding: 10, |
|
|
padding: 10, |
|
|
borderStyle: "dotted", |
|
|
borderStyle: "dotted", |
|
|
borderColor: colors.primary, |
|
|
|
|
|
|
|
|
borderColor: colors.white, |
|
|
|
|
|
borderWidth: borderWidth, |
|
|
alignItems: "center", |
|
|
alignItems: "center", |
|
|
width: dims.width, |
|
|
width: dims.width, |
|
|
}, |
|
|
}, |
|
|