Эх сурвалжийг харах

show correct hint on new, empty broadcasts

B. Petersen 3 жил өмнө
parent
commit
7785b2cce2

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