Commit 2536fbe4 authored by santhosh's avatar santhosh
Browse files

last message

Showing with 5 additions and 1 deletion
+5 -1
......@@ -166,7 +166,7 @@ export default class AdminReports1 extends Component {
AsyncStorage.getItem("userName", (err, res) => {
const userName = res;
const [, extension] = userName.split('@')
// const [, extension] = userName.split('@')
AsyncStorage.getItem("userToken", (err, res) => {
this.setState({ empId: res });
// alert(extension)
......
......@@ -343,6 +343,10 @@ class ListItem extends React.Component {
</View>
</View>
<View style={{flexDirection:'row'}}>
<Text style={{color:'#214274',}}> {getLastMsgSendBy(this.state.dataSource2, item.id) }</Text>
<Text style={{color:'black',paddingLeft:10,fontSize:10,paddingTop:3}}> {getLastMsgTime(this.state.dataSource2, item.id)}</Text>
</View>
<Text style={{width:'60%',color:'grey'}}> {getLastMsg(this.state.dataSource2, item.id)}</Text>
......
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