mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
Revert showBars() fullscreen guard — was breaking toolbar visibility on state restoration.
This commit is contained in:
1 parent
2ccd325fec
commit
dc7da4397f
1 file changed
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user