mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Improve status bar hide logic
This commit is contained in:
parent
668d4f2577
commit
5540c959f0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class ImagePageViewController: UIPageViewController {
|
||||||
action: #selector(toggleDescriptionVisibility))
|
action: #selector(toggleDescriptionVisibility))
|
||||||
}
|
}
|
||||||
|
|
||||||
override var prefersStatusBarHidden: Bool { true }
|
override var prefersStatusBarHidden: Bool { navigationController?.isNavigationBarHidden ?? false }
|
||||||
|
|
||||||
override var prefersHomeIndicatorAutoHidden: Bool { navigationController?.isNavigationBarHidden ?? false }
|
override var prefersHomeIndicatorAutoHidden: Bool { navigationController?.isNavigationBarHidden ?? false }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue