Merge pull request #3431 from stuartbreckenridge/ios-ui-navbartoolbar

Makes nav/toolbar behaviour consistent for Feeds, Timeline, and Article
This commit is contained in:
Maurice Parker
2022-02-07 12:56:38 -08:00
committed by GitHub
5 changed files with 41 additions and 9 deletions

View File

@@ -229,6 +229,11 @@ class ArticleViewController: UIViewController, MainControllerIdentifiable {
}
override func contentScrollView(for edge: NSDirectionalRectEdge) -> UIScrollView? {
return currentWebViewController?.webView?.scrollView
}
// MARK: Notifications
@objc dynamic func unreadCountDidChange(_ notification: Notification) {

View File

@@ -31,7 +31,7 @@ class WebViewController: UIViewController {
private var topShowBarsViewConstraint: NSLayoutConstraint!
private var bottomShowBarsViewConstraint: NSLayoutConstraint!
private var webView: PreloadedWebView? {
var webView: PreloadedWebView? {
return view.subviews[0] as? PreloadedWebView
}