Commit b08d3bf9 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

benerin lagi soal tinggi

parent 5af49bf3
......@@ -68,7 +68,7 @@ class Item extends React.Component {
{item.code == 'CATEGORY' ? (
<Text style={{ fontSize: 15, color: '#c9af6d', fontFamily: 'Gotham-Black' }}>{item.name}</Text>
) : (
<View style={{ flex: 1, flexDirection: 'row', height: 100 }}>
<View style={{ flex: 1, flexDirection: 'row' }}>
<Modal animationType="slide"
transparent={true}
visible={this.state.modalVisible}
......@@ -104,13 +104,13 @@ class Item extends React.Component {
</View>
</View>
</Modal>
<View style={{ flex: 1, height: 100 }}>
<View style={{ flex: 1 }}>
<TouchableOpacity onPress={() => this.props.navigation.navigate('Menu Detail', { nameMenu: item.name, desc: item.description, image: item.image })}>
{/* <Image source={{ uri: item.image }} style={{ height: 100, width: 100, borderRadius: 10, }}></Image> */}
<Image style={{ height: 100, width: 100, borderRadius: 10, }} source={item.image ? {uri: item.image } : null} />
</TouchableOpacity>
</View>
<View style={{ flex: 1, height: 100 }}>
<View style={{ flex: 1}}>
<View style={{ marginLeft: 5, marginRight: 5 }}>
{
item.motm ? (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment