mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
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…
x
Reference in New Issue
Block a user