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 { ...@@ -68,7 +68,7 @@ class Item extends React.Component {
{item.code == 'CATEGORY' ? ( {item.code == 'CATEGORY' ? (
<Text style={{ fontSize: 15, color: '#c9af6d', fontFamily: 'Gotham-Black' }}>{item.name}</Text> <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" <Modal animationType="slide"
transparent={true} transparent={true}
visible={this.state.modalVisible} visible={this.state.modalVisible}
...@@ -104,13 +104,13 @@ class Item extends React.Component { ...@@ -104,13 +104,13 @@ class Item extends React.Component {
</View> </View>
</View> </View>
</Modal> </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 })}> <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 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} /> <Image style={{ height: 100, width: 100, borderRadius: 10, }} source={item.image ? {uri: item.image } : null} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{ flex: 1, height: 100 }}> <View style={{ flex: 1}}>
<View style={{ marginLeft: 5, marginRight: 5 }}> <View style={{ marginLeft: 5, marginRight: 5 }}>
{ {
item.motm ? ( 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