Forráskód Böngészése

avoid unneeded chatlist update on initial startup

cyberta 3 éve
szülő
commit
5bec74aa9c
1 módosított fájl, 1 hozzáadás és 1 törlés
  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
         }
     }