Explorar el Código

check invalidate metadata

Marino Faggiana hace 7 años
padre
commit
bdc58ed184
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      iOSClient/Photos/CCPhotos.m

+ 5 - 0
iOSClient/Photos/CCPhotos.m

@@ -822,6 +822,11 @@
         if (self.detailViewController.isViewLoaded && self.detailViewController.view.window)
             return NO;
     
+    // check if metadata is invalidated
+    if ([[NCManageDatabase sharedInstance] isTableInvalidated:metadata]) {
+        return NO;
+    }
+    
     // ok perform segue
     return YES;
 }