Переглянути джерело

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