Hide bars when returning to the foreground so that they don't come back.

This commit is contained in:
Maurice Parker 2019-11-24 14:49:44 -06:00
parent 74297944e9
commit cd493730b1
1 changed files with 4 additions and 1 deletions

View File

@ -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