Skip to content

Commit

Permalink
modify cell backColor to Clear Color
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuozhuo committed Sep 1, 2017
1 parent 429d7ac commit abc376c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ -(UITableViewCell *)tableView:(ZHCMessagesTableView *)tableView cellForRowAtInde
cell.messageBubbleTopLabel.textInsets = UIEdgeInsetsMake(0.0f, bubbleTopLableInset, 0.0f, 0.0f);
}
cell.backgroundColor = [UIColor clearColor];
cell.contentView.backgroundColor = [UIColor whiteColor];
cell.contentView.backgroundColor = [UIColor clearColor];
cell.layer.rasterizationScale = [UIScreen mainScreen].scale;
cell.layer.shouldRasterize = YES;
return cell;
Expand Down
2 changes: 1 addition & 1 deletion ZHCMessagesViewController/Views/ZHCMessagesTableViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ - (void)awakeFromNib {
self.avatarImageView.translatesAutoresizingMaskIntoConstraints = NO;


self.backgroundColor = [UIColor whiteColor];
self.backgroundColor = [UIColor clearColor];

self.cellTopLabelHeightConstraint.constant = 0.0f;
self.messageBubbleTopLabelHeightConstraint.constant = 0.0f;
Expand Down

0 comments on commit abc376c

Please sign in to comment.