From 1b0cdf0334132fefe4b2ff9663d6eb2f8900d621 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 15 Jun 2026 12:44:36 +0300 Subject: [PATCH] hide unread state for selected chat list item In split view the chat list stays mounted alongside the open convo. The selected item's unread indicator could flicker (read -> unread -> read) as stale listConvos refetches raced the eventually-consistent read receipt. Gate hasUnread on !selected so the open chat never shows unread affordances. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/screens/Messages/components/ChatListItem.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screens/Messages/components/ChatListItem.tsx b/src/screens/Messages/components/ChatListItem.tsx index b9e867f8cd..d8de21209d 100644 --- a/src/screens/Messages/components/ChatListItem.tsx +++ b/src/screens/Messages/components/ChatListItem.tsx @@ -282,6 +282,7 @@ function BaseChatItem({ const playHaptic = useHaptics() const queryClient = useQueryClient() const hasUnread = + !selected && !isDeletedAccount && (convo.view.unreadCount > 0 || (convo.kind === 'group' &&