diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index 36d43bf72..7c309b849 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -33,7 +33,6 @@ class ArticleViewController: UIViewController { @IBOutlet private weak var readBarButtonItem: UIBarButtonItem! @IBOutlet private weak var starBarButtonItem: UIBarButtonItem! @IBOutlet private weak var actionBarButtonItem: UIBarButtonItem! - @IBOutlet private weak var browserBarButtonItem: UIBarButtonItem! @IBOutlet private weak var webViewContainer: UIView! private var articleExtractorButton: ArticleExtractorButton = { @@ -103,7 +102,7 @@ class ArticleViewController: UIViewController { NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground(_:)), name: UIApplication.willEnterForegroundNotification, object: nil) articleExtractorButton.addTarget(self, action: #selector(toggleArticleExtractor(_:)), for: .touchUpInside) - navigationItem.titleView = articleExtractorButton + toolbarItems?.append(UIBarButtonItem(customView: articleExtractorButton)) ArticleViewControllerWebViewProvider.shared.dequeueWebView() { webView in @@ -133,7 +132,6 @@ class ArticleViewController: UIViewController { nextArticleBarButtonItem.isEnabled = false readBarButtonItem.isEnabled = false starBarButtonItem.isEnabled = false - browserBarButtonItem.isEnabled = false actionBarButtonItem.isEnabled = false return } @@ -145,7 +143,6 @@ class ArticleViewController: UIViewController { articleExtractorButton.isEnabled = true readBarButtonItem.isEnabled = true starBarButtonItem.isEnabled = true - browserBarButtonItem.isEnabled = true actionBarButtonItem.isEnabled = true let readImage = article.status.read ? AppAssets.circleOpenImage : AppAssets.circleClosedImage diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard index c0cd1ce69..c2a8669ba 100644 --- a/iOS/Base.lproj/Main.storyboard +++ b/iOS/Base.lproj/Main.storyboard @@ -69,15 +69,6 @@ - - - - - - - - - @@ -105,7 +96,6 @@ - @@ -278,7 +268,6 @@ -