about summary refs log tree commit diff
path: root/src/screens/Messages/List/ChatListItem.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-05-31 12:14:11 -0500
committerGitHub <noreply@github.com>2024-05-31 12:14:11 -0500
commit2bb36948198b9a0787544258bde72b4d3c6d78b0 (patch)
tree97fcb2db666eeb2f05e481c4ca47ae4e99cb37d6 /src/screens/Messages/List/ChatListItem.tsx
parentcd3b502b343e5e79d9a6df77d08935829b655f55 (diff)
downloadvoidsky-2bb36948198b9a0787544258bde72b4d3c6d78b0.tar.zst
[🐴] Add labels to chats (#4293)
* Add labels to chat list

* Add to convo header

* Prevent click through on PostAlert buttons

* Fix space

* Fix alignment
Diffstat (limited to 'src/screens/Messages/List/ChatListItem.tsx')
-rw-r--r--src/screens/Messages/List/ChatListItem.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/screens/Messages/List/ChatListItem.tsx b/src/screens/Messages/List/ChatListItem.tsx
index a5c709a27..d5658249d 100644
--- a/src/screens/Messages/List/ChatListItem.tsx
+++ b/src/screens/Messages/List/ChatListItem.tsx
@@ -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 && (