Explorar o código

Bugfix [Crash V 1.14,15]

Marino Faggiana %!s(int64=8) %!d(string=hai) anos
pai
achega
e0b6e41fc1
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      iOSClient/Main/CCDetail.m

+ 4 - 0
iOSClient/Main/CCDetail.m

@@ -807,6 +807,10 @@
 {
     NSString *fileID = [[notification.userInfo allKeys] objectAtIndex:0];
     //NSDate *date = [[notification.userInfo allValues] objectAtIndex:0];
+ 
+    // test [Chrash V 1.14,15]
+    if (self.indexNowVisible >= [self.photos count])
+        return;
     
     dispatch_async(dispatch_get_main_queue(), ^{