Commit bb90d7598be9802757fd858378cf6e7e77e51316
1 parent
e2600ae4
修复闪退
Showing
2 changed files
with
2 additions
and
2 deletions
CNLiveCServiceModule.podspec
CNLiveCServiceModule/Classes/Present/CNLiveServicePresent.m
| ... | ... | @@ -167,7 +167,7 @@ static const CGFloat margin = 15; |
| 167 | 167 | for (int i = 0; i< array.count ;i++ ) { |
| 168 | 168 | NSDictionary *dic = array[i]; |
| 169 | 169 | NSObject *model = nil; |
| 170 | - if ([title isEqualToString:@""]) { | |
| 170 | + if ([title isEqualToString:@""] && [subTitle isEqualToString:@""]) { | |
| 171 | 171 | model = [CNCategoryModel mj_objectWithKeyValues:dic]; |
| 172 | 172 | }else{ |
| 173 | 173 | model = [CNLiveSearchModel mj_objectWithKeyValues:dic]; | ... | ... |