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