Fix crash when disabling hide status actions in timeline
This commit is contained in:
parent
3d6d9b2a91
commit
98bb230817
|
@ -146,7 +146,9 @@ class TimelineStatusTableViewCell: BaseStatusTableViewCell {
|
||||||
verticalStackToActionsContainerConstraint.isActive = false
|
verticalStackToActionsContainerConstraint.isActive = false
|
||||||
} else {
|
} else {
|
||||||
actionsContainerView.isHidden = false
|
actionsContainerView.isHidden = false
|
||||||
actionsContainerHeightConstraint.isActive = true
|
// sometimes this constraint is nil for reasons i can't discern
|
||||||
|
// not re-activating in that case doesn't seem to make a difference
|
||||||
|
actionsContainerHeightConstraint?.isActive = true
|
||||||
verticalStackToSuperviewConstraint.isActive = false
|
verticalStackToSuperviewConstraint.isActive = false
|
||||||
verticalStackToActionsContainerConstraint.isActive = true
|
verticalStackToActionsContainerConstraint.isActive = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue