Skip to content

Commit

Permalink
Delete messages NUX (#5574)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Oct 2, 2024
1 parent 13c9c79 commit c2dac85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 179 deletions.
175 changes: 0 additions & 175 deletions src/components/dms/MessagesNUX.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/screens/Messages/ChatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {atoms as a, useBreakpoints, useTheme, web} from '#/alf'
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
import {DialogControlProps, useDialogControl} from '#/components/Dialog'
import {NewChat} from '#/components/dms/dialogs/NewChatDialog'
import {MessagesNUX} from '#/components/dms/MessagesNUX'
import {useRefreshOnFocus} from '#/components/hooks/useRefreshOnFocus'
import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as Retry} from '#/components/icons/ArrowRotateCounterClockwise'
import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo'
Expand Down Expand Up @@ -151,8 +150,6 @@ export function MessagesScreen({navigation, route}: Props) {
if (conversations.length < 1) {
return (
<View style={a.flex_1}>
<MessagesNUX />

<CenteredView sideBorders={gtMobile} style={[a.h_full_vh]}>
{gtMobile ? (
<DesktopHeader
Expand Down Expand Up @@ -240,7 +237,6 @@ export function MessagesScreen({navigation, route}: Props) {

return (
<View style={a.flex_1}>
<MessagesNUX />
{!gtMobile && (
<ViewHeader
title={_(msg`Messages`)}
Expand Down

0 comments on commit c2dac85

Please sign in to comment.