mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix bad modifier parameter usage.
This commit is contained in:
committed by
Benoit Marty
parent
3e69985fd6
commit
aa7db3150d
+4
-3
@@ -121,6 +121,7 @@ fun TimelineItemEventRow(
|
|||||||
inReplyToClick(inReplyToEventId)
|
inReplyToClick(inReplyToEventId)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Column(modifier = modifier.fillMaxWidth()) {
|
||||||
if (canReply) {
|
if (canReply) {
|
||||||
val dismissState = rememberDismissState(
|
val dismissState = rememberDismissState(
|
||||||
confirmValueChange = {
|
confirmValueChange = {
|
||||||
@@ -166,11 +167,11 @@ fun TimelineItemEventRow(
|
|||||||
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
// This is assuming that we are in a ColumnScope, but this is OK, for both Preview and real usage.
|
|
||||||
if (event.groupPosition.isNew()) {
|
if (event.groupPosition.isNew()) {
|
||||||
Spacer(modifier = modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
} else {
|
} else {
|
||||||
Spacer(modifier = modifier.height(2.dp))
|
Spacer(modifier = Modifier.height(2.dp))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user