瀏覽代碼

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")