Explorar o código

set isInitial to true a little bit earlier

Co-authored-by: bjoern <r10s@b44t.com>
cyBerta %!s(int64=3) %!d(string=hai) anos
pai
achega
dcca925eef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deltachat-ios/Controller/ChatListController.swift

+ 1 - 1
deltachat-ios/Controller/ChatListController.swift

@@ -252,9 +252,9 @@ class ChatListController: UITableViewController {
     @objc func applicationDidBecomeActive(_ notification: NSNotification) {
         if navigationController?.visibleViewController == self {
             if !isInitial {
+                isInitial = false
                 startTimer()
                 refreshInBg()
-                isInitial = false
             }
         }
     }