16.dp padding on start of Timestamp
https://www.figma.com/file/0MMNu7cTOzLOlWb7ctTkv3/Element-X?type=design&node-id=2128%3A107003&t=y1eqw6l1S8Mw3g3e-1
This commit is contained in:
parent
8cdcaba9e3
commit
93d1a982f9
1 changed files with 8 additions and 8 deletions
|
|
@ -279,7 +279,7 @@ private fun MessageSummary(event: TimelineItem.Event, modifier: Modifier = Modif
|
||||||
Row(modifier = modifier) {
|
Row(modifier = modifier) {
|
||||||
icon()
|
icon()
|
||||||
Spacer(modifier = Modifier.width(8.dp))
|
Spacer(modifier = Modifier.width(8.dp))
|
||||||
Column {
|
Column(modifier = Modifier.weight(1f)) {
|
||||||
Row {
|
Row {
|
||||||
if (event.senderDisplayName != null) {
|
if (event.senderDisplayName != null) {
|
||||||
Text(
|
Text(
|
||||||
|
|
@ -288,16 +288,16 @@ private fun MessageSummary(event: TimelineItem.Event, modifier: Modifier = Modif
|
||||||
color = MaterialTheme.colorScheme.primary
|
color = MaterialTheme.colorScheme.primary
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Text(
|
|
||||||
event.sentTime,
|
|
||||||
style = ElementTextStyles.Regular.caption2,
|
|
||||||
color = MaterialTheme.colorScheme.secondary,
|
|
||||||
textAlign = TextAlign.End,
|
|
||||||
modifier = Modifier.weight(1f)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
content()
|
content()
|
||||||
}
|
}
|
||||||
|
Spacer(modifier = Modifier.width(16.dp))
|
||||||
|
Text(
|
||||||
|
event.sentTime,
|
||||||
|
style = ElementTextStyles.Regular.caption2,
|
||||||
|
color = MaterialTheme.colorScheme.secondary,
|
||||||
|
textAlign = TextAlign.End,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue