Fix initial layout (IOS-234)
This commit is contained in:
parent
985eb68766
commit
6f58c277c7
|
@ -486,6 +486,8 @@ extension HomeTimelineViewController {
|
|||
private func showTimelinePill() {
|
||||
guard let timelinePillHiddenTopAnchor, let timelinePillVisibleTopAnchor else { return }
|
||||
|
||||
timelinePill.setNeedsLayout()
|
||||
timelinePill.layoutIfNeeded()
|
||||
timelinePill.alpha = 0
|
||||
NSLayoutConstraint.deactivate([timelinePillHiddenTopAnchor])
|
||||
NSLayoutConstraint.activate([timelinePillVisibleTopAnchor])
|
||||
|
|
Loading…
Reference in New Issue