mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Implement Read and Star button functionality
This commit is contained in:
@@ -46,7 +46,7 @@ class WebViewController: NSViewController, ArticleManager {
|
||||
}
|
||||
}
|
||||
|
||||
var articleModel: ArticleModel?
|
||||
var sceneModel: SceneModel?
|
||||
weak var delegate: WebViewControllerDelegate?
|
||||
|
||||
var currentArticle: Article?
|
||||
@@ -75,6 +75,8 @@ class WebViewController: NSViewController, ArticleManager {
|
||||
])
|
||||
|
||||
loadWebView()
|
||||
|
||||
sceneModel?.updateArticleSelection()
|
||||
}
|
||||
|
||||
// MARK: Notifications
|
||||
@@ -217,7 +219,7 @@ private extension WebViewController {
|
||||
return
|
||||
}
|
||||
|
||||
articleModel?.webViewProvider?.dequeueWebView() { webView in
|
||||
sceneModel?.webViewProvider?.dequeueWebView() { webView in
|
||||
|
||||
// Add the webview
|
||||
webView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
Reference in New Issue
Block a user