diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-08 15:48:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 15:48:05 +0100 |
commit | 38198fdf7f858a819891e39d418b74cc6b94d756 (patch) | |
tree | cbc23d418dff3ab8ed1ce76b669b2dc2e12447a0 /src/screens/Messages/List/index.tsx | |
parent | 56f713077f6e663ac77df20f1d67b55fd1da153a (diff) | |
download | voidsky-38198fdf7f858a819891e39d418b74cc6b94d756.tar.zst |
[🐴] Mark as read in convo menu (#3913)
* add mark as read option * optimistic update + link up menu * rm messageid
Diffstat (limited to 'src/screens/Messages/List/index.tsx')
-rw-r--r-- | src/screens/Messages/List/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index ca757fac0..a82f2f00a 100644 --- a/src/screens/Messages/List/index.tsx +++ b/src/screens/Messages/List/index.tsx @@ -275,7 +275,7 @@ function ChatListItem({convo}: {convo: ChatBskyConvoDefs.ConvoView}) { a.pl_md, a.py_sm, a.gap_md, - a.pr_2xl, + a.pr_xl, (hovered || pressed) && t.atoms.bg_contrast_25, ]}> <View pointerEvents="none"> @@ -340,6 +340,7 @@ function ChatListItem({convo}: {convo: ChatBskyConvoDefs.ConvoView}) { // tricky because it captures the mouse event hideTrigger currentScreen="list" + showMarkAsRead={convo.unreadCount > 0} /> </View> )} |