[🐴] Add labels to chats (#4293)
* Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
This commit is contained in:
parent
cd3b502b34
commit
2bb3694819
3 changed files with 74 additions and 44 deletions
|
@ -23,6 +23,7 @@ import {ConvoMenu} from '#/components/dms/ConvoMenu'
|
|||
import {Bell2Off_Filled_Corner0_Rounded as BellStroke} from '#/components/icons/Bell2'
|
||||
import {Link} from '#/components/Link'
|
||||
import {useMenuControl} from '#/components/Menu'
|
||||
import {PostAlerts} from '#/components/moderation/PostAlerts'
|
||||
import {Text} from '#/components/Typography'
|
||||
|
||||
export let ChatListItem = ({
|
||||
|
@ -264,6 +265,12 @@ function ChatListItemReady({
|
|||
]}>
|
||||
{lastMessage}
|
||||
</Text>
|
||||
|
||||
<PostAlerts
|
||||
modui={moderation.ui('contentList')}
|
||||
size="large"
|
||||
style={[a.pt_xs]}
|
||||
/>
|
||||
</View>
|
||||
|
||||
{convo.unreadCount > 0 && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue