|
@@ -6513,7 +6513,9 @@
|
|
|
#pragma mark - Banner Delegate
|
|
#pragma mark - Banner Delegate
|
|
|
|
|
|
|
|
- (void)commonEditorBannerCell:(CommonEditorBannerCell *)cell didClickItemAtIndexPath:(NSIndexPath *)indexPath {
|
|
- (void)commonEditorBannerCell:(CommonEditorBannerCell *)cell didClickItemAtIndexPath:(NSIndexPath *)indexPath {
|
|
|
-
|
|
|
|
|
|
|
+ if ([[[cell content] objectForKey:@"count"] integerValue] == 0) {
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
ContentPreviewController *preVC = [[UIStoryboard storyboardWithName:@"PhotoList" bundle:nil] instantiateViewControllerWithIdentifier:@"ContentPreviewController"];
|
|
ContentPreviewController *preVC = [[UIStoryboard storyboardWithName:@"PhotoList" bundle:nil] instantiateViewControllerWithIdentifier:@"ContentPreviewController"];
|
|
|
preVC.content = [cell content];
|
|
preVC.content = [cell content];
|
|
|
|
|
|