Improve status bar hide logic
This commit is contained in:
parent
668d4f2577
commit
5540c959f0
|
@ -53,7 +53,7 @@ class ImagePageViewController: UIPageViewController {
|
|||
action: #selector(toggleDescriptionVisibility))
|
||||
}
|
||||
|
||||
override var prefersStatusBarHidden: Bool { true }
|
||||
override var prefersStatusBarHidden: Bool { navigationController?.isNavigationBarHidden ?? false }
|
||||
|
||||
override var prefersHomeIndicatorAutoHidden: Bool { navigationController?.isNavigationBarHidden ?? false }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue