mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 19:53:25 +01:00
Fixes AppViewController navigation bar + tab bar appearance on iOS 15
This commit is contained in:
@@ -188,6 +188,13 @@ class AppViewController: UIViewController
|
|||||||
|
|
||||||
self.contentViewController = segue.destination as? AppContentViewController
|
self.contentViewController = segue.destination as? AppContentViewController
|
||||||
self.contentViewController.app = self.app
|
self.contentViewController.app = self.app
|
||||||
|
|
||||||
|
if #available(iOS 15, *)
|
||||||
|
{
|
||||||
|
// Fix navigation bar + tab bar appearance on iOS 15.
|
||||||
|
self.setContentScrollView(self.contentViewController.tableView)
|
||||||
|
self.navigationItem.scrollEdgeAppearance = self.navigationController?.navigationBar.standardAppearance
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewDidLayoutSubviews()
|
override func viewDidLayoutSubviews()
|
||||||
|
|||||||
Reference in New Issue
Block a user