瀏覽代碼

update group name in group details view after coming back from group name editing

cyberta 5 年之前
父節點
當前提交
3adc0aca4e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deltachat-ios/Controller/GroupChatDetailViewController.swift

+ 2 - 0
deltachat-ios/Controller/GroupChatDetailViewController.swift

@@ -77,6 +77,8 @@ class GroupChatDetailViewController: UIViewController {
         updateGroupMembers()
         chatDetailTable.reloadData() // to display updates
         editBarButtonItem.isEnabled = currentUser != nil
+        //update chat object, maybe chat name was edited
+        chat = DcChat(id: chat.id)
     }
 
     private func updateGroupMembers() {