瀏覽代碼

avoid unneeded chatlist update on initial startup

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

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

@@ -252,8 +252,8 @@ class ChatListController: UITableViewController {
         if navigationController?.visibleViewController == self {
             if !isInitial {
                 startTimer()
+                handleChatListUpdate()
             }
-            handleChatListUpdate()
             isInitial = false
         }
     }