Stub out mark as read and star functionality

This commit is contained in:
Maurice Parker
2020-07-09 16:34:47 -05:00
parent 94f956b41f
commit 3e61c7044b
8 changed files with 95 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ import Account
import Articles
import SafariServices
class ArticleViewController: UIViewController {
class ArticleViewController: UIViewController, ArticleManager {
weak var articleModel: ArticleModel?
@@ -22,7 +22,7 @@ class ArticleViewController: UIViewController {
return pageViewController?.viewControllers?.first as? WebViewController
}
var article: Article? {
var currentArticle: Article? {
didSet {
if let controller = currentWebViewController, controller.article != article {
controller.setArticle(article)