mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 15:22:07 +00:00
core: only introduce to supporting moderators
This commit is contained in:
1 parent
dd01ef5ae8
commit
6abffeb295
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -636,7 +636,7 @@ fun ChatItemView(
|
||||
CIEventView(eventItemViewText(reversedChatItems))
|
||||
}
|
||||
|
||||
@Composable fun UserPendingReviewEventItemView() {
|
||||
@Composable fun PendingReviewEventItemView() {
|
||||
Text(
|
||||
buildAnnotatedString {
|
||||
withStyle(chatEventStyle.copy(fontWeight = FontWeight.Bold)) { append(cItem.content.text) }
|
||||
@@ -721,14 +721,14 @@ fun ChatItemView(
|
||||
is CIContent.RcvGroupEventContent -> {
|
||||
when (c.rcvGroupEvent) {
|
||||
is RcvGroupEvent.MemberCreatedContact -> CIMemberCreatedContactView(cItem, openDirectChat)
|
||||
is RcvGroupEvent.NewMemberPendingReview -> UserPendingReviewEventItemView()
|
||||
is RcvGroupEvent.NewMemberPendingReview -> PendingReviewEventItemView()
|
||||
else -> EventItemView()
|
||||
}
|
||||
MsgContentItemDropdownMenu()
|
||||
}
|
||||
is CIContent.SndGroupEventContent -> {
|
||||
when (c.sndGroupEvent) {
|
||||
is SndGroupEvent.UserPendingReview -> UserPendingReviewEventItemView()
|
||||
is SndGroupEvent.UserPendingReview -> PendingReviewEventItemView()
|
||||
else -> EventItemView()
|
||||
}
|
||||
MsgContentItemDropdownMenu()
|
||||
|
||||
Reference in new issue
Block a user