diff --git a/src/screens/Messages/ChatList.tsx b/src/screens/Messages/ChatList.tsx index 92867ccfbe..dbc669c3c8 100644 --- a/src/screens/Messages/ChatList.tsx +++ b/src/screens/Messages/ChatList.tsx @@ -272,7 +272,7 @@ export function ChatList({ if (conversations.length === 0) { return ( - + {isLoading ? ( ) : ( @@ -319,6 +319,7 @@ export function ChatList({ iconSize="4xl" textStyle={t.atoms.text} iconColor={t.atoms.text.color} + style={web([a.h_full, a.justify_center, {paddingBottom: 120}])} /> ) : ( )} diff --git a/src/screens/Messages/Inbox.tsx b/src/screens/Messages/Inbox.tsx index b9d0792464..360786f5b9 100644 --- a/src/screens/Messages/Inbox.tsx +++ b/src/screens/Messages/Inbox.tsx @@ -25,10 +25,11 @@ import {useMessagesEventBus} from '#/state/messages/events' import {useLeftConvos} from '#/state/queries/messages/leave-conversation' import {useListConvosQuery} from '#/state/queries/messages/list-conversations' import {useUpdateAllRead} from '#/state/queries/messages/update-all-read' +import {EmptyState} from '#/view/com/util/EmptyState' import {FAB} from '#/view/com/util/fab/FAB' import {List} from '#/view/com/util/List' import {ChatListLoadingPlaceholder} from '#/view/com/util/LoadingPlaceholder' -import {atoms as a, useBreakpoints, useTheme} from '#/alf' +import {atoms as a, useBreakpoints, useTheme, web} from '#/alf' import {AgeRestrictedScreen} from '#/components/ageAssurance/AgeRestrictedScreen' import {useAgeAssuranceCopy} from '#/components/ageAssurance/useAgeAssuranceCopy' import {Button, ButtonIcon, ButtonText} from '#/components/Button' @@ -37,7 +38,7 @@ import {ArrowLeft_Stroke2_Corner0_Rounded as ArrowLeftIcon} from '#/components/i import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as RetryIcon} from '#/components/icons/ArrowRotate' import {Check_Stroke2_Corner0_Rounded as CheckIcon} from '#/components/icons/Check' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfoIcon} from '#/components/icons/CircleInfo' -import {Message_Stroke2_Corner0_Rounded as MessageIcon} from '#/components/icons/Message' +import {Inbox_Stroke2_Corner2_Rounded_Large as InboxLargeIcon} from '#/components/icons/Inbox' import * as Layout from '#/components/Layout' import {ListFooter} from '#/components/Lists' import * as Toast from '#/components/Toast' @@ -182,7 +183,7 @@ function RequestList({ if (conversations.length < 1) { return ( - + {isLoading ? ( ) : ( @@ -224,48 +225,36 @@ function RequestList({ ) : ( - <> - - - - - Inbox zero! - - - - - You don't have any chat requests at the moment. - - - {!isWithinSplitView && ( - - )} - - + { + if (navigation.canGoBack()) { + navigation.goBack() + } else { + navigation.navigate('Messages', {animation: 'pop'}) + } + }, + size: 'small', + color: 'secondary', + icon: ArrowLeftIcon, + } + } + style={web([a.h_full, a.justify_center, a.pb_5xl])} + /> )} )}