diff options
author | Eric Bailey <git@esb.lol> | 2024-05-14 20:07:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 20:07:53 -0500 |
commit | 6efe90a5f5c213a02da9f906fc1f098db113d71d (patch) | |
tree | 1607fb0274975cb08b26557b2edca05b45983f69 /src/screens/Messages/List/index.tsx | |
parent | d390db0fa23d4e377e7351a869e11453a540c4fa (diff) | |
download | voidsky-6efe90a5f5c213a02da9f906fc1f098db113d71d.tar.zst |
[🐴] Block states, read only (#4022)
* Refactor ChatListItem for mod state * Refactor Conversation Header for mod state * Invalidate query for list when blocking/unblocking * Remove unused prop, restore border * Add mutations, hook up profile shadow to list query, use shadow-aware query for convo (#4024)
Diffstat (limited to 'src/screens/Messages/List/index.tsx')
-rw-r--r-- | src/screens/Messages/List/index.tsx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 6300a976b..2ae17a141 100644 --- a/src/screens/Messages/List/index.tsx +++ b/src/screens/Messages/List/index.tsx @@ -29,14 +29,8 @@ import {ChatListItem} from './ChatListItem' type Props = NativeStackScreenProps<MessagesTabNavigatorParams, 'Messages'> -function renderItem({ - item, - index, -}: { - item: ChatBskyConvoDefs.ConvoView - index: number -}) { - return <ChatListItem convo={item} index={index} /> +function renderItem({item}: {item: ChatBskyConvoDefs.ConvoView}) { + return <ChatListItem convo={item} /> } function keyExtractor(item: ChatBskyConvoDefs.ConvoView) { @@ -232,6 +226,8 @@ function DesktopHeader({ a.gap_lg, a.px_lg, a.py_sm, + a.border_b, + t.atoms.border_contrast_low, ]}> <Text style={[a.text_2xl, a.font_bold]}> <Trans>Messages</Trans> |