From e2011056a28992a0febcffe95a7d7f9087df1461 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Jul 2026 13:57:13 +0000 Subject: [PATCH] fix(chat): mirror the timestamp to the inner edge on own bubbles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_0129yvP2hmVeDFfuKKy94tqX --- .../screen/loggedIn/chats/feed/layouts/ChatBubbleLayout.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/feed/layouts/ChatBubbleLayout.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/feed/layouts/ChatBubbleLayout.kt index 14bfa41ebb..e1244fbaee 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/feed/layouts/ChatBubbleLayout.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/chats/feed/layouts/ChatBubbleLayout.kt @@ -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() } }