Quellcode durchsuchen

avoid unneeded chatlist update on initial startup

cyberta vor 3 Jahren
Ursprung
Commit
5bec74aa9c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
         }
     }