|
@@ -138,7 +138,7 @@
|
|
|
NSString *fileName = [self.curDownloadFileModel getFileNameFun];
|
|
|
NSString*pathStr = [cachesFileManager getFilePathWithName:fileName type:DownLoadFileType];
|
|
|
|
|
|
- if([self.curDownloadFileModel.fileType isEqualToString:@".jpg"]){
|
|
|
+ if([self.curDownloadFileModel.fileType containsString:@"jpg"]){
|
|
|
|
|
|
if([iTools canSaveFileToAlbumByPhoto:YES withName:fileName]){
|
|
|
UIImage *image = [UIImage imageWithContentsOfFile:pathStr];
|