Commit af7b223d53daa428e97975187491468f1f2e363d

Authored by zhangxiaowen
1 parent f218130a

no message

CNLiveSettingModule/Classes/Privacy/CNLiveNotSeeController.m
... ... @@ -153,7 +153,9 @@ static const NSInteger SectionHeight = 50;
153 153 //组头/组尾
154 154 - (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath {
155 155 CNLiveNotSeeFooterView *footerView = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:kCNLiveNotSeeFooterView forIndexPath:indexPath];
156   - footerView.title = _type == CNTypeNoLetHimSee?@"把通讯录的某个朋友放到这里,生活圈可见范围发照片他(她)将无法看到。":@"把通讯录的某个朋友放到这里,该朋友更新的照片将不会在你的生活圈中出现。";
  156 + if(kind == UICollectionElementKindSectionFooter){
  157 + footerView.title = _type == CNTypeNoLetHimSee?@"把通讯录的某个朋友放到这里,生活圈可见范围发照片他(她)将无法看到。":@"把通讯录的某个朋友放到这里,该朋友更新的照片将不会在你的生活圈中出现。";
  158 + }
157 159 return footerView;
158 160  
159 161 }
... ...