mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +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()
|
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)
|
override func viewDidAppear(_ animated: Bool)
|
||||||
{
|
{
|
||||||
super.viewDidAppear(animated)
|
super.viewDidAppear(animated)
|
||||||
|
|||||||
Reference in New Issue
Block a user