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

Fix network screen not updating in the background

Tanner Bennett лет назад: 6
Родитель
Сommit
25e0af042e
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      Classes/Network/FLEXNetworkMITMViewController.m

+ 4 - 2
Classes/Network/FLEXNetworkMITMViewController.m

@@ -251,14 +251,16 @@
 }
 
 - (void)tryUpdateTransactions {
-    // Don't do any updating if we aren't in the view hierarchy
+    // Don't do any view updating if we aren't in the view hierarchy
     if (!self.viewIfLoaded.window) {
+        [self updateTransactions];
         self.pendingReload = YES;
         return;
     }
     
     // Let the previous row insert animation finish before starting a new one to avoid stomping.
-    // We'll try calling the method again when the insertion completes, and we properly no-op if there haven't been changes.
+    // We'll try calling the method again when the insertion completes,
+    // and we properly no-op if there haven't been changes.
     if (self.rowInsertInProgress) {
         return;
     }