bug修复

This commit is contained in:
liyuhua
2023-10-27 19:30:45 +08:00
parent a2083617d9
commit 10e7403101
3 changed files with 20 additions and 16 deletions

View File

@@ -218,7 +218,9 @@
self.pi_contentView.attributedText = giftNameAtt;
self.giftImageView.imageUrl = _broadcastModel.giftUrl;
self.roomNameLabel.text = _broadcastModel.roomTitle;
self.countLabel.text = [NSString stringWithFormat:@"x%ld", _broadcastModel.giftNum];
if(_broadcastModel.giftNum > 1){
self.countLabel.text = [NSString stringWithFormat:@"x%ld", _broadcastModel.giftNum];
}
[self updateSubviews:_broadcastModel.levelNum];
}
}
@@ -238,6 +240,8 @@
_senderAvatarView = [[NetImageView alloc]initWithConfig:config];
_senderAvatarView.layer.cornerRadius = kGetScaleWidth(44)/2;
_senderAvatarView.layer.masksToBounds = YES;
_senderAvatarView.userInteractionEnabled = YES;
}
return _senderAvatarView;
}