mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Skip reloading HTML in the detail view when the article is set and it’s the same article that was already set.
This commit is contained in:
@@ -31,7 +31,9 @@ final class DetailViewController: NSViewController, WKUIDelegate {
|
||||
|
||||
private var article: Article? {
|
||||
didSet {
|
||||
reloadHTML()
|
||||
if article != nil, article != oldValue {
|
||||
reloadHTML()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user