1
0
forked from fr/deguapp

Fix: image was rendering inside buttons view

This commit is contained in:
Filip Rojek 2024-05-12 21:58:18 +02:00
parent 9b850ba88f
commit d418a53144

View File

@ -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>