From dc7da4397fb26fbf5a9fd6c5ce3b9f17677faae1 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 20 May 2026 14:20:33 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20showBars()=20fullscreen=20guard=20?= =?UTF-8?q?=E2=80=94=20was=20breaking=20toolbar=20visibility=20on=20state?= =?UTF-8?q?=20restoration.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/Article/WebViewController.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/iOS/Article/WebViewController.swift b/iOS/Article/WebViewController.swift index 2725d2fc0..fc4d64ed0 100644 --- a/iOS/Article/WebViewController.swift +++ b/iOS/Article/WebViewController.swift @@ -225,12 +225,6 @@ final class WebViewController: UIViewController { } func showBars(animated: Bool = true) { - // Skip when bars aren't hidden. Avoids redundant layout work on every back-navigation - // and — more importantly — avoids triggering a layout pass during viewWillDisappear, - // which has tripped an Auto Layout (NSISEngine) assertion in production crash reports. - guard AppDefaults.shared.articleFullscreenEnabled else { - return - } AppDefaults.shared.articleFullscreenEnabled = false coordinator.showStatusBar() topShowBarsViewConstraint?.constant = 0