Commit 802e12ca authored by Deni Rinaldi's avatar Deni Rinaldi

chat + komen Filter

parent d5ddadbc
This diff is collapsed.
...@@ -262,7 +262,15 @@ class DetailProductScreen extends Component { ...@@ -262,7 +262,15 @@ class DetailProductScreen extends Component {
</ScrollView>} </ScrollView>}
<View style={{padding: 20, alignSelf:'flex-end', justifyContent: 'flex-end', backgroundColor: 'white', elevation: 5, width: '100%', borderTopWidth: .5, borderTopColor: '#d8d8d8'}}> <View style={{padding: 20, alignSelf:'flex-end', justifyContent: 'flex-end', backgroundColor: 'white', elevation: 5, width: '100%', borderTopWidth: .5, borderTopColor: '#d8d8d8'}}>
<View style={{flexDirection: 'row', justifyContent: 'space-between',}}> <View style={{flexDirection: 'row', justifyContent: 'space-between',}}>
<TouchableOpacity style={{width: '10%', alignItems:'center'}}> <TouchableOpacity style={{width: '10%', alignItems:'center'}}
onPress={()=> this.props.navigation.navigate('ChatScreen', {
product: {
imageName: this.state.dataProduct.product_name,
itemHarga: this.state.dataProduct.price,
image: this.state.varient[0].varient_image
},
intent: 'chat'
})}>
<Image source={Images.icon_chat} style={{width: 50, height: 50}}/> <Image source={Images.icon_chat} style={{width: 50, height: 50}}/>
</TouchableOpacity> </TouchableOpacity>
<View style={{width: '40%'}}> <View style={{width: '40%'}}>
......
...@@ -203,10 +203,10 @@ class ListSearchScreen extends Component { ...@@ -203,10 +203,10 @@ class ListSearchScreen extends Component {
<Image source={!this.state.thumbnail ? Images.icon_thumbnailon : Images.icon_thumbnailoff} style={{ width: 20, height: 20, marginLeft: 20 }} /> <Image source={!this.state.thumbnail ? Images.icon_thumbnailon : Images.icon_thumbnailoff} style={{ width: 20, height: 20, marginLeft: 20 }} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{ flexDirection: 'row' }}> {/* <View style={{ flexDirection: 'row' }}>
<BaseText type={"bold"} text={'Filter'} style={{ fontSize: 14, color: '#fff', marginRight: 20, textAlign: 'center' }} /> <BaseText type={"bold"} text={'Filter'} style={{ fontSize: 14, color: '#fff', marginRight: 20, textAlign: 'center' }} />
<Image source={Images.icon_filter} style={{ width: 20, height: 20, alignSelf: 'center' }} resizeMode={"contain"} /> <Image source={Images.icon_filter} style={{ width: 20, height: 20, alignSelf: 'center' }} resizeMode={"contain"} />
</View> </View> */}
</View> </View>
{!this.state.thumbnail && ( {!this.state.thumbnail && (
<View style={{ flex: 1, backgroundColor: '#fff', borderTopLeftRadius: 30, borderTopRightRadius: 30, width: '100%', paddingHorizontal: 10 }}> <View style={{ flex: 1, backgroundColor: '#fff', borderTopLeftRadius: 30, borderTopRightRadius: 30, width: '100%', paddingHorizontal: 10 }}>
......
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