Przeglądaj źródła

Remove caption where location is not present

Marino Faggiana 8 lat temu
rodzic
commit
9f08606626
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      iOSClient/Main/CCDetail.m

+ 4 - 2
iOSClient/Main/CCDetail.m

@@ -515,8 +515,10 @@
                     // Location ??
                     [self setLocationCaptionPhoto:photo fileID:metadata.fileID];
                     
-                    if (!photo.caption)
-                        photo.caption = metadata.fileNamePrint;
+                    if (!photo.caption) {
+                        // Remove title foto caption
+                        //photo.caption = metadata.fileNamePrint;
+                    }
                     
                     [self.photos replaceObjectAtIndex:index withObject:photo];