mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change to check correct unread value to determine timeline button state. Issue #1433
This commit is contained in:
@@ -84,6 +84,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private(set) var groupByFeed = AppDefaults.timelineGroupByFeed {
|
||||
didSet {
|
||||
if groupByFeed != oldValue {
|
||||
@@ -266,7 +267,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
}
|
||||
|
||||
var isTimelineUnreadAvailable: Bool {
|
||||
return timelineFeed?.unreadCount ?? 0 > 0
|
||||
return unreadCount > 0
|
||||
}
|
||||
|
||||
var isAnyUnreadAvailable: Bool {
|
||||
|
||||
Reference in New Issue
Block a user