Просмотр исходного кода

avoid unneeded chatlist update on initial startup

cyberta 3 лет назад
Родитель
Сommit
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
         }
     }