From 2ac332c41a3d8984493b105af4745c0d99c425aa Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 30 Dec 2024 15:54:07 -0800 Subject: [PATCH] Fix bug where a toolbar would be erroneously shown when in full screen and returning from view an image. Fix #4449. --- iOS/Article/ArticleViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index 6a905693f..586b17d87 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -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) }