Skip to content

Commit

Permalink
fix: add timestamp (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandra-marin authored and seavan committed Jan 4, 2019
1 parent 9d50dbd commit be79447
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions app/components/messaging/message-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,26 @@ export default class MessageInfo extends SafeComponent {
if (!this.props.chat || !this.props.messageObject) return null;
const body = (
<View style={{ backgroundColor: vars.channelInfoBg }}>
<View>
<ContactCard
contact={this.props.messageObject.sender}
backgroundColor={vars.channelInfoBg}
disableTapping
/>
<View
style={{
marginRight: 8,
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center'
}}>
<View
style={{
flex: 1
}}>
<ContactCard
contact={this.props.messageObject.sender}
backgroundColor={vars.channelInfoBg}
disableTapping
/>
</View>
<Text style={{ flex: 0, color: vars.black54, fontSize: 14 }}>
{this.props.messageObject.messageTimestampText}
</Text>
</View>
{this.messageText}
<ListSeparator />
Expand Down

0 comments on commit be79447

Please sign in to comment.