chore: remove useless code

This commit is contained in:
sunxiaojian 2021-04-19 10:10:46 +08:00
parent 462fafe706
commit 5ae2c44642
1 changed files with 1 additions and 3 deletions

View File

@ -196,11 +196,9 @@ extension NotificationStatusTableViewCell {
statusView.isUserInteractionEnabled = false
// remove item don't display
statusView.actionToolbarContainer.removeFromStackView()
// it affect stackView's height
// it affect stackView's height,need remove
statusView.avatarView.removeFromStackView()
statusView.usernameLabel.removeFromStackView()
statusView.nameLabel.setContentCompressionResistancePriority(.required - 1, for: .vertical)
statusView.activeTextLabel.setContentCompressionResistancePriority(.required, for: .vertical)
}
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {