Improve comment clarity
This commit is contained in:
parent
30d2a319ce
commit
713223bbed
1 changed files with 2 additions and 1 deletions
|
|
@ -112,7 +112,8 @@ fun MessageEventBubble(
|
|||
.fillMaxWidth(BUBBLE_WIDTH_RATIO)
|
||||
.padding(horizontal = 16.dp)
|
||||
.offsetForItem(),
|
||||
// Need to repeat this if content width is low.
|
||||
// Need to set the contentAlignment again (it's already set in TimelineItemEventRow), for the case
|
||||
// when content width is low.
|
||||
contentAlignment = if (state.isMine) Alignment.CenterEnd else Alignment.CenterStart
|
||||
) {
|
||||
Surface(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue