소스 검색

show correct hint on new, empty broadcasts

B. Petersen 3 년 전
부모
커밋
7785b2cce2
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      deltachat-ios/Chat/ChatViewController.swift

+ 3 - 1
deltachat-ios/Chat/ChatViewController.swift

@@ -922,7 +922,9 @@ class ChatViewController: UITableViewController {
         if show {
             let dcChat = dcContext.getChat(chatId: chatId)
             if dcChat.isGroup {
-                if dcChat.isUnpromoted {
+                if dcChat.isBroadcast {
+                    emptyStateView.text = String.localized("chat_new_broadcast_hint")
+                } else if dcChat.isUnpromoted {
                     emptyStateView.text = String.localized("chat_new_group_hint")
                 } else {
                     emptyStateView.text = String.localized("chat_no_messages")