Browse Source

set isInitial to true a little bit earlier

Co-authored-by: bjoern <r10s@b44t.com>
cyBerta 3 years ago
parent
commit
dcca925eef
1 changed files with 1 additions and 1 deletions
  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
             }
         }
     }