mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 12:54:35 +00:00
Improve comment clarity
This commit is contained in:
committed by
Benoit Marty
parent
30d2a319ce
commit
713223bbed
+2
-1
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user