change size of recipe selection
continuous-integration/drone/push Build is passing Details

pull/20/head
Rayhân HASSOU 1 year ago
parent c2cdd44f19
commit 532784deb1

@ -7,7 +7,7 @@ import background from '../assets/images/Background.png';
interface recipeElementReduceProps {
number : number
title : string
image : string
image : string | null
duration : string
}

@ -133,7 +133,7 @@ const loadIngredients = async () => {
borderRadius: 15,
}}/>
</View>
<View style={{flex: 1}}>
<View style={{flex: 1, maxHeight: 300}}>
<FlatList
data={response ? response : []}
renderItem={({ item }) => (
@ -153,7 +153,7 @@ const loadIngredients = async () => {
<View style={[styles.horizontalAlignment, {justifyContent: "flex-start", marginLeft: "5%"}]}>
<Text style={{fontSize: 20, color: '#ACA279'}}>Available</Text>
</View>
<View style={{flex: 1}}>
<View style={{flex: 1, maxHeight: 300}}>
<FlatList
data={selectedIngredients}
renderItem={({ item }) => (

Loading…
Cancel
Save