|
@@ -326,7 +326,8 @@
|
|
|
|
|
|
if ([_metadata.typeFile isEqualToString: k_metadataTypeFile_compress]) {
|
|
|
|
|
|
- [self performSelector:@selector(unZipFile:) withObject:_metadata.fileID];
|
|
|
+ //[self performSelector:@selector(unZipFile:) withObject:_metadata.fileID];
|
|
|
+ [self openWith:_metadata];
|
|
|
|
|
|
} else if ([_metadata.typeFile isEqualToString: k_metadataTypeFile_unknown]) {
|
|
|
|
|
@@ -336,7 +337,7 @@
|
|
|
|
|
|
if ([self shouldPerformSegue])
|
|
|
[self performSegueWithIdentifier:@"segueDetail" sender:self];
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#pragma --------------------------------------------------------------------------------------------
|
|
@@ -428,6 +429,7 @@
|
|
|
[self presentViewController:alertController animated:YES completion:nil];
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
#pragma --------------------------------------------------------------------------------------------
|
|
|
#pragma mark ===== UnZipFile =====
|
|
|
#pragma --------------------------------------------------------------------------------------------
|
|
@@ -460,6 +462,7 @@
|
|
|
}];
|
|
|
});
|
|
|
}
|
|
|
+*/
|
|
|
|
|
|
- (void)requestMoreMetadata:(tableMetadata *)metadata indexPath:(NSIndexPath *)indexPath
|
|
|
{
|