diff --git a/Appcasts/netnewswire-beta.xml b/Appcasts/netnewswire-beta.xml
index 7834e2a83..491fc8ecd 100755
--- a/Appcasts/netnewswire-beta.xml
+++ b/Appcasts/netnewswire-beta.xml
@@ -6,6 +6,16 @@
Most recent NetNewsWire changes with links to updates.
en
+ -
+ NetNewsWire 5.0.1b1
+ Timeline: reload the timeline when show-feed-names is toggled. This fixes a bug where switching between a folder and a feed with the exact same list of articles to appear in the timeline would result in display glitches.
+ ]]>
+ Tue, 10 Sep 2019 20:50:00 -0700
+
+ 10.14.4
+
+
-
NetNewsWire 5.0.1d2
-
+
-
+
+
@@ -268,14 +269,14 @@
-
+
-
+
-
+
@@ -311,6 +312,7 @@
+
@@ -345,7 +347,7 @@
-
+
@@ -444,7 +446,7 @@
-
+
diff --git a/Mac/MainWindow/Detail/DetailWebView.swift b/Mac/MainWindow/Detail/DetailWebView.swift
index 03c8109a6..e235b7d7b 100644
--- a/Mac/MainWindow/Detail/DetailWebView.swift
+++ b/Mac/MainWindow/Detail/DetailWebView.swift
@@ -14,6 +14,10 @@ final class DetailWebView: WKWebView {
weak var keyboardDelegate: KeyboardDelegate?
+ override func accessibilityLabel() -> String? {
+ return NSLocalizedString("Article", comment: "Article")
+ }
+
// MARK: - NSResponder
override func keyDown(with event: NSEvent) {
diff --git a/Mac/MainWindow/Timeline/TimelineTableView.swift b/Mac/MainWindow/Timeline/TimelineTableView.swift
index fb3639134..e70bbed17 100644
--- a/Mac/MainWindow/Timeline/TimelineTableView.swift
+++ b/Mac/MainWindow/Timeline/TimelineTableView.swift
@@ -13,6 +13,10 @@ class TimelineTableView: NSTableView {
weak var keyboardDelegate: KeyboardDelegate?
+ override func accessibilityLabel() -> String? {
+ return NSLocalizedString("Timeline", comment: "Timeline")
+ }
+
// MARK: - NSResponder
override func keyDown(with event: NSEvent) {
diff --git a/Mac/MainWindow/Timeline/TimelineViewController.swift b/Mac/MainWindow/Timeline/TimelineViewController.swift
index 54fef9c54..8db10b216 100644
--- a/Mac/MainWindow/Timeline/TimelineViewController.swift
+++ b/Mac/MainWindow/Timeline/TimelineViewController.swift
@@ -48,6 +48,7 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
if articles.count > 0 {
tableView.scrollRowToVisible(0)
}
+ updateUnreadCount()
}
}
}
@@ -106,6 +107,7 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
if showFeedNames != oldValue {
updateShowAvatars()
updateTableViewRowHeight()
+ reloadVisibleCells()
}
}
}
@@ -978,10 +980,7 @@ private extension TimelineViewController {
}
func replaceArticles(with unsortedArticles: Set) {
- let sortedArticles = Array(unsortedArticles).sortedByDate(sortDirection)
- if articles != sortedArticles {
- articles = sortedArticles
- }
+ articles = Array(unsortedArticles).sortedByDate(sortDirection)
}
func fetchUnsortedArticlesSync(for representedObjects: [Any]) -> Set {