fix: compile issue

This commit is contained in:
ihugo 2021-04-22 13:08:53 +08:00
parent 23d9853a71
commit d1e3039e38
1 changed files with 3 additions and 3 deletions

View File

@ -48,10 +48,11 @@ final class ReportedStatusTableViewCell: UITableViewCell, StatusCell {
override func prepareForReuse() {
super.prepareForReuse()
checked = false
statusView.isStatusTextSensitive = false
statusView.cleanUpContentWarning()
statusView.updateContentWarningDisplay(isHidden: true, animated: false)
statusView.statusMosaicImageViewContainer.contentWarningOverlayView.isUserInteractionEnabled = true
statusView.pollTableView.dataSource = nil
statusView.playerContainerView.reset()
statusView.playerContainerView.contentWarningOverlayView.isUserInteractionEnabled = true
statusView.playerContainerView.isHidden = true
disposeBag.removeAll()
observations.removeAll()
@ -90,7 +91,6 @@ extension ReportedStatusTableViewCell {
private func _init() {
backgroundColor = Asset.Colors.Background.systemBackground.color
statusView.contentWarningBlurContentImageView.backgroundColor = Asset.Colors.Background.systemBackground.color
checkbox.translatesAutoresizingMaskIntoConstraints = false
contentView.addSubview(checkbox)