Add missing content when canReply is false.
This commit is contained in:
parent
1d6bfd19f1
commit
73074b3a68
1 changed files with 18 additions and 5 deletions
|
|
@ -163,11 +163,24 @@ fun TimelineItemEventRow(
|
||||||
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (event.groupPosition.isNew()) {
|
} else {
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
TimelineItemEventRowContent(
|
||||||
} else {
|
event = event,
|
||||||
Spacer(modifier = Modifier.height(2.dp))
|
isHighlighted = isHighlighted,
|
||||||
}
|
interactionSource = interactionSource,
|
||||||
|
onClick = onClick,
|
||||||
|
onLongClick = onLongClick,
|
||||||
|
onTimestampClicked = onTimestampClicked,
|
||||||
|
inReplyToClicked = ::inReplyToClicked,
|
||||||
|
onUserDataClicked = ::onUserDataClicked,
|
||||||
|
onReactionClicked = { emoji -> onReactionClick(emoji, event) },
|
||||||
|
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (event.groupPosition.isNew()) {
|
||||||
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
} else {
|
||||||
|
Spacer(modifier = Modifier.height(2.dp))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue