|
@ -111,6 +111,8 @@ function ImageInput({ imageUri, onChangeImage }) { |
|
|
|
|
|
|
|
|
{!imageUri && ( |
|
|
{!imageUri && ( |
|
|
<TouchableOpacity |
|
|
<TouchableOpacity |
|
|
|
|
|
disabled={true} |
|
|
|
|
|
activeOpacity={0.5} |
|
|
onPress={() => { |
|
|
onPress={() => { |
|
|
setModalVisible(true); |
|
|
setModalVisible(true); |
|
|
}} |
|
|
}} |
|
@ -254,6 +256,7 @@ const styles = StyleSheet.create({ |
|
|
alignItems: "center", |
|
|
alignItems: "center", |
|
|
borderRadius: 6, |
|
|
borderRadius: 6, |
|
|
backgroundColor: colors.primary, |
|
|
backgroundColor: colors.primary, |
|
|
|
|
|
opacity: 0.4, //while button is disabled
|
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|