Commit 423fea1e2d1042d180c71e13982d0f4f2d2b3c76
1 parent
3bab62e6
0.0.37
Showing
2 changed files
with
4 additions
and
1 deletions
CNLiveCServiceModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveCServiceModule' | 10 | s.name = 'CNLiveCServiceModule' |
| 11 | - s.version = '0.0.36' | 11 | + s.version = '0.0.37' |
| 12 | s.summary = '我的服务内容' | 12 | s.summary = '我的服务内容' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveCServiceModule/Classes/Present/CNLiveServicePresent.m
| @@ -120,6 +120,9 @@ static const CGFloat margin = 15; | @@ -120,6 +120,9 @@ static const CGFloat margin = 15; | ||
| 120 | if (![showTitle isKindOfClass:[NSNull class]] && !showTitle.boolValue) { | 120 | if (![showTitle isKindOfClass:[NSNull class]] && !showTitle.boolValue) { |
| 121 | title = @""; | 121 | title = @""; |
| 122 | } | 122 | } |
| 123 | + if (CNLiveStringIsEmpty(title)) { | ||
| 124 | + title = @""; | ||
| 125 | + } | ||
| 123 | NSString *serviceId = [dic[@"category"] stringForKey:@"id"]; | 126 | NSString *serviceId = [dic[@"category"] stringForKey:@"id"]; |
| 124 | if (serviceId.integerValue == 6) { | 127 | if (serviceId.integerValue == 6) { |
| 125 | cellheight = 145; | 128 | cellheight = 145; |