[🐴] Mark as read in convo menu (#3913)
* add mark as read option * optimistic update + link up menu * rm messageid
This commit is contained in:
parent
56f713077f
commit
38198fdf7f
6 changed files with 52 additions and 8 deletions
|
@ -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>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue