From 3ea427bd2dd62a1946e9a60def3173983f5a8a25 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 6 Jul 2021 18:50:48 -0500 Subject: [PATCH] Fix open in browser when the article is selected. Fixes #3215 --- iOS/MasterTimeline/MasterTimelineViewController.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index 9cc5a6152..ed966c783 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -129,6 +129,15 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner } // MARK: Actions + + @objc func openInBrowser(_ sender: Any?) { + coordinator.showBrowserForCurrentArticle() + } + + @objc func openInAppBrowser(_ sender: Any?) { + coordinator.showInAppBrowser() + } + @IBAction func toggleFilter(_ sender: Any) { coordinator.toggleReadArticlesFilter() }