Fix: image was rendering inside buttons view
This commit is contained in:
parent
9b850ba88f
commit
d418a53144
@ -157,9 +157,8 @@ export default function BeerAdd() {
|
|||||||
buttonStyle={styles.imageButton}
|
buttonStyle={styles.imageButton}
|
||||||
textStyle={styles.imageTextButton}
|
textStyle={styles.imageTextButton}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{image && <Image source={{ uri: image }} style={styles.image} />}
|
|
||||||
</View>
|
</View>
|
||||||
|
{image && <Image source={{ uri: image }} style={styles.image} />}
|
||||||
<Button title="Add beer" color={colors.gold} onPress={addBeer} />
|
<Button title="Add beer" color={colors.gold} onPress={addBeer} />
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
Reference in New Issue
Block a user