Browse Source

Merge pull request #759 from deltachat/location_streaming_indicator

remove location icon when location streaming ended
bjoern 5 năm trước cách đây
mục cha
commit
c3a127f7cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      deltachat-ios/Controller/ChatViewController.swift

+ 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]
         }
     }