forked from zelo72/mastodon-ios
chore: remove useless code
This commit is contained in:
parent
462fafe706
commit
5ae2c44642
|
@ -196,11 +196,9 @@ extension NotificationStatusTableViewCell {
|
||||||
statusView.isUserInteractionEnabled = false
|
statusView.isUserInteractionEnabled = false
|
||||||
// remove item don't display
|
// remove item don't display
|
||||||
statusView.actionToolbarContainer.removeFromStackView()
|
statusView.actionToolbarContainer.removeFromStackView()
|
||||||
// it affect stackView's height
|
// it affect stackView's height,need remove
|
||||||
statusView.avatarView.removeFromStackView()
|
statusView.avatarView.removeFromStackView()
|
||||||
statusView.usernameLabel.removeFromStackView()
|
statusView.usernameLabel.removeFromStackView()
|
||||||
statusView.nameLabel.setContentCompressionResistancePriority(.required - 1, for: .vertical)
|
|
||||||
statusView.activeTextLabel.setContentCompressionResistancePriority(.required, for: .vertical)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
|
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
|
||||||
|
|
Loading…
Reference in New Issue