Change to check correct unread value to determine timeline button state. Issue #1433
This commit is contained in:
parent
45cdb7bea3
commit
1ae421d3c8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue