mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes incorrect initial size for website button on Source detail page
This commit is contained in:
@@ -260,6 +260,14 @@ class HeaderContentViewController<Header: UIView, Content: ScrollableContentView
|
||||
self.update()
|
||||
}
|
||||
|
||||
override func viewIsAppearing(_ animated: Bool)
|
||||
{
|
||||
super.viewIsAppearing(animated)
|
||||
|
||||
// Ensure header view has correct layout dimensions.
|
||||
self.headerView.setNeedsLayout()
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool)
|
||||
{
|
||||
super.viewDidAppear(animated)
|
||||
|
||||
Reference in New Issue
Block a user