Fix monoforum user unread counters

This commit is contained in:
Isaac
2025-05-27 18:41:24 +08:00
parent 8f7006281c
commit 3cad999c75
21 changed files with 117 additions and 984 deletions

View File

@@ -3014,8 +3014,7 @@ public class ChatListItemNode: ItemListRevealOptionsItemNode {
textColor = theme.titleColor
}
if case let .channel(channel) = itemPeer.peer, channel.flags.contains(.isMonoforum) {
//TODO:localize
titleBadgeText = "MESSAGES"
titleBadgeText = item.presentationData.strings.ChatList_MonoforumLabel
}
titleAttributedString = NSAttributedString(string: displayTitle, font: titleFont, textColor: textColor)
}