Fix bug where a toolbar would be erroneously shown when in full screen and returning from view an image. Fix #4449.

This commit is contained in:
Brent Simmons
2024-12-30 15:54:07 -08:00
parent 4f73ae1042
commit 2ac332c41a

View File

@@ -163,7 +163,8 @@ class ArticleViewController: UIViewController {
}
override func viewWillAppear(_ animated: Bool) {
navigationController?.isToolbarHidden = false
let hideToolbar = AppDefaults.shared.articleFullscreenEnabled
navigationController?.isToolbarHidden = hideToolbar
super.viewWillAppear(animated)
}