Commit 6e79594b authored by Trisno's avatar Trisno

fix inbox detail

parent b68a6e02
import React from 'react';
import { View, Text, StyleSheet, Alert, BackHandler, StatusBar } from 'react-native';
import { View, Text, StyleSheet, Alert, BackHandler, StatusBar, Linking } from 'react-native';
import { Image } from 'react-native-elements';
import Axios from 'axios';
import { TouchableOpacity, ScrollView } from 'react-native-gesture-handler';
......@@ -49,7 +49,7 @@ class InboxDetail extends React.Component {
Axios.post(this.props.BASE_URL + 'crm/v2/inbox/get_detail', params).then(res => {
let data = res.data.message
// console.log(data)
console.log(data)
this.setState({
title: data.message.title,
......@@ -146,7 +146,10 @@ class InboxDetail extends React.Component {
}}
ignoredTags={['br']}
ignoredStyles={['font-family', ' ', '&']} />
ignoredStyles={['font-family', ' ', '&']}
onLinkPress={(event, href) => {
Linking.openURL(href)
}} />
</View>
</ScrollView>
......
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