diff --git a/src/screens/Messages/components/ChatListItem.tsx b/src/screens/Messages/components/ChatListItem.tsx
index e8c0b9cc68..142ca4a971 100644
--- a/src/screens/Messages/components/ChatListItem.tsx
+++ b/src/screens/Messages/components/ChatListItem.tsx
@@ -122,7 +122,7 @@ function DirectChatItem({
}) {
const {t: l} = useLingui()
const profile = useProfileShadow(convo.primaryMember)
- const {isWithinSplitView} = useIsWithinSplitView()
+ const {isWithinLeftPanel} = useIsWithinSplitView()
const moderation = useMemo(
() => moderateProfile(profile, moderationOpts),
@@ -140,7 +140,7 @@ function DirectChatItem({
avatar={
}
@@ -161,7 +161,7 @@ function DirectChatItem({
isBlockedAccount={moderation.blocked}
showProfileBadges
postAlerts={
- isWithinSplitView ? null : (
+ isWithinLeftPanel ? null : (
@@ -205,7 +205,7 @@ function GroupChatItem({
avatar={
}
@@ -278,7 +278,7 @@ function BaseChatItem({
const leaveConvoControl = useDialogControl()
const {mutate: markAsRead} = useMarkAsReadMutation()
const {gtMobile} = useBreakpoints()
- const {isWithinSplitView} = useIsWithinSplitView()
+ const {isWithinLeftPanel} = useIsWithinSplitView()
const playHaptic = useHaptics()
const queryClient = useQueryClient()
@@ -458,7 +458,7 @@ function BaseChatItem({
leftFirst: deleteAction,
}
- const avatarSize = isWithinSplitView ? 48 : 52
+ const avatarSize = isWithinLeftPanel ? 48 : 52
return (
@@ -469,7 +469,7 @@ function BaseChatItem({
// @ts-expect-error web only
onFocus={onFocus}
onBlur={onMouseLeave}
- style={[a.relative, t.atoms.bg, isWithinSplitView && a.mx_sm]}>
+ style={[a.relative, t.atoms.bg, isWithinLeftPanel && a.mx_sm]}>