From cd493730b1d1c222be9d9079382e50b438cd61cc Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 24 Nov 2019 14:49:44 -0600 Subject: [PATCH] Hide bars when returning to the foreground so that they don't come back. --- iOS/Article/ArticleViewController.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index fd400d9a2..ffbdb48e7 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -249,7 +249,10 @@ class ArticleViewController: UIViewController { } @objc func willEnterForeground(_ note: Notification) { - showBars() + // The toolbar will come back on you if you don't hide it again + if AppDefaults.articleFullscreenEnabled { + hideBars() + } } // MARK: Actions