diff --git a/src/screens/Messages/components/ChatListItem.tsx b/src/screens/Messages/components/ChatListItem.tsx index 01de080936..33ad37e8b0 100644 --- a/src/screens/Messages/components/ChatListItem.tsx +++ b/src/screens/Messages/components/ChatListItem.tsx @@ -51,6 +51,7 @@ import {Text} from '#/components/Typography' import {useAnalytics} from '#/analytics' import {IS_NATIVE} from '#/env' import type * as bsky from '#/types/bsky' +import {useIsWithinSplitView} from './splitView/context' export const ChatListItemPortal = createPortalGroup() @@ -118,6 +119,7 @@ function DirectChatItem({ }) { const {t: l} = useLingui() const profile = useProfileShadow(convo.primaryMember) + const {isWithinLeftPanel} = useIsWithinSplitView() const moderation = useMemo( () => moderateProfile(profile, moderationOpts), @@ -156,11 +158,13 @@ function DirectChatItem({ isBlockedAccount={moderation.blocked} showProfileBadges postAlerts={ - + isWithinLeftPanel ? null : ( + + ) }> {children} @@ -496,7 +500,7 @@ function BaseChatItem({ {showProfileBadges && primaryProfile && ( )} @@ -548,6 +552,8 @@ function BaseChatItem({ )} + {postAlerts} + {LastMessageIcon && ( - {postAlerts} - {children}