Преглед на файлове

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