Improve comment clarity
This commit is contained in:
parent
641028c082
commit
a216aafb70
1 changed files with 2 additions and 1 deletions
|
|
@ -112,7 +112,8 @@ fun MessageEventBubble(
|
||||||
.fillMaxWidth(BUBBLE_WIDTH_RATIO)
|
.fillMaxWidth(BUBBLE_WIDTH_RATIO)
|
||||||
.padding(horizontal = 16.dp)
|
.padding(horizontal = 16.dp)
|
||||||
.offsetForItem(),
|
.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
|
contentAlignment = if (state.isMine) Alignment.CenterEnd else Alignment.CenterStart
|
||||||
) {
|
) {
|
||||||
Surface(
|
Surface(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue