fix(chat): mirror the timestamp to the inner edge on own bubbles

The compact timestamp was always aligned to the bubble's end, so on the
logged-in user's own (right-aligned) bubbles it hugged the screen edge
while everyone else's sat on the center-facing side. Align it to the start
for own bubbles so both sides mirror — the time always sits on the edge
facing the center of the chat.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129yvP2hmVeDFfuKKy94tqX
This commit is contained in:
Claude
2026-07-15 13:57:13 +00:00
parent 6d107e6676
commit e2011056a2
@@ -377,7 +377,10 @@ private fun InnerChatBubble(
if (showDetails.value) {
detailRow()
} else if (timeRow != null) {
Box(modifier = Modifier.align(Alignment.End)) {
// Mirror the timestamp with the bubble so it sits on the same
// center-facing edge for both sides: the left for the logged-in user's
// own (right-aligned) bubbles, the right for everyone else's.
Box(modifier = Modifier.align(if (isLoggedInUser) Alignment.Start else Alignment.End)) {
timeRow()
}
}