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

correctly update right button bar items in chat view

cyberta 5 жил өмнө
parent
commit
ca7669919c

+ 1 - 1
deltachat-ios/Controller/ChatViewController.swift

@@ -300,7 +300,7 @@ class ChatViewController: MessagesViewController {
         if chat.isSendingLocations {
             navigationItem.rightBarButtonItems = [badgeItem, locationStreamingItem]
         } else {
-            navigationItem.rightBarButtonItem = badgeItem
+            navigationItem.rightBarButtonItems = [badgeItem]
         }
     }