瀏覽代碼

Merge pull request #759 from deltachat/location_streaming_indicator

remove location icon when location streaming ended
bjoern 5 年之前
父節點
當前提交
c3a127f7cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]
         }
     }