|
|
@ -40,7 +40,6 @@ function RiverFloodSharingDataScreen(props) { |
|
|
|
</Text> |
|
|
|
<KeyboardAwareScrollView |
|
|
|
resetScrollToCoords={{ x: 0, y: 0 }} |
|
|
|
contentContainerStyle={styles.container} |
|
|
|
scrollEnabled={true} |
|
|
|
> |
|
|
|
<Form |
|
|
@ -64,9 +63,7 @@ function RiverFloodSharingDataScreen(props) { |
|
|
|
validationSchema={validationSchema} |
|
|
|
> |
|
|
|
<View> |
|
|
|
<View |
|
|
|
style={{ flexDirection: "row", justifyContent: "space-around" }} |
|
|
|
> |
|
|
|
<View style={styles.imgs_row}> |
|
|
|
<TouchableNativeFeedback onPress={() => setRiverScale(0)}> |
|
|
|
<View |
|
|
|
borderColor={riverScale == 0 ? colors.primary : colors.white} |
|
|
@ -94,13 +91,7 @@ function RiverFloodSharingDataScreen(props) { |
|
|
|
</TouchableNativeFeedback> |
|
|
|
</View> |
|
|
|
|
|
|
|
<View |
|
|
|
style={{ |
|
|
|
marginTop: 10, |
|
|
|
flexDirection: "row", |
|
|
|
justifyContent: "space-around", |
|
|
|
}} |
|
|
|
> |
|
|
|
<View style={{ ...styles.imgs_row, marginTop: 10 }}> |
|
|
|
<TouchableNativeFeedback onPress={() => setRiverScale(2)}> |
|
|
|
<View |
|
|
|
borderColor={riverScale == 2 ? colors.primary : colors.white} |
|
|
@ -160,6 +151,10 @@ const styles = StyleSheet.create({ |
|
|
|
width: 85, |
|
|
|
height: 85, |
|
|
|
}, |
|
|
|
imgs_row: { |
|
|
|
flexDirection: "row", |
|
|
|
justifyContent: "space-between", |
|
|
|
}, |
|
|
|
text: { |
|
|
|
fontSize: 14, |
|
|
|
textAlign: "center", |
|
|
|