diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-17 20:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 14:24:06 -0500 |
commit | dd0f57e3e3188389bc8ef364e81e4a00405a9a26 (patch) | |
tree | 0d7c2012685185e5a3e3fe942d45058e67e730dc /src/screens/Messages/List/index.tsx | |
parent | 115041f4bfa537579deb4b8aa92ddb200de4d48e (diff) | |
download | voidsky-dd0f57e3e3188389bc8ef364e81e4a00405a9a26.tar.zst |
[🐴] NUX (#4062)
* remove type assertion * DMs NUX * delete button for testing * tweak styles and copy * rm log * style tweaks * reduce amount of words * Fix not showing on first load * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/screens/Messages/List/index.tsx')
-rw-r--r-- | src/screens/Messages/List/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 060dac630..e36d1edf2 100644 --- a/src/screens/Messages/List/index.tsx +++ b/src/screens/Messages/List/index.tsx @@ -17,6 +17,7 @@ import {CenteredView} from '#/view/com/util/Views' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {DialogControlProps, useDialogControl} from '#/components/Dialog' +import {MessagesNUX} from '#/components/dms/MessagesNUX' import {NewChat} from '#/components/dms/NewChat' import {useRefreshOnFocus} from '#/components/hooks/useRefreshOnFocus' import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus' @@ -131,6 +132,7 @@ export function MessagesScreen({navigation, route}: Props) { if (conversations.length < 1) { return ( <View style={a.flex_1}> + <MessagesNUX /> {gtMobile ? ( <CenteredView sideBorders> <DesktopHeader @@ -165,6 +167,7 @@ export function MessagesScreen({navigation, route}: Props) { return ( <View style={a.flex_1}> + <MessagesNUX /> {!gtMobile && ( <ViewHeader title={_(msg`Messages`)} |