mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Comment improvements
This commit is contained in:
@@ -41,11 +41,8 @@ private final class ChatEmptyNodeRegularChatContent: ASDisplayNode, ChatEmptyNod
|
||||
|
||||
let text: String
|
||||
switch interfaceState.chatLocation {
|
||||
case .peer:
|
||||
case .peer, .replyThread:
|
||||
text = interfaceState.isScheduledMessages ? interfaceState.strings.ScheduledMessages_EmptyPlaceholder : interfaceState.strings.Conversation_EmptyPlaceholder
|
||||
case .replyThread:
|
||||
//TODO:localize
|
||||
text = "No comments here yet"
|
||||
}
|
||||
|
||||
self.textNode.attributedText = NSAttributedString(string: text, font: messageFont, textColor: serviceColor.primaryText)
|
||||
|
||||
Reference in New Issue
Block a user