mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 08:42:51 +00:00
Disable next unread button when there are no unread articles anywhere. Fix #5000.
This commit is contained in:
1 parent
7dc551e59f
commit
8f1d5ee77f
1 file changed
+1
-1
@@ -827,7 +827,7 @@ private extension MainTimelineViewController {
|
||||
|
||||
func updateToolbar() {
|
||||
markAllAsReadButton?.isEnabled = isTimelineUnreadAvailable
|
||||
firstUnreadButton.isEnabled = isTimelineUnreadAvailable
|
||||
firstUnreadButton.isEnabled = coordinator?.isAnyUnreadAvailable ?? false
|
||||
|
||||
if isRootSplitCollapsed {
|
||||
if let toolbarItems = toolbarItems, toolbarItems.last != firstUnreadButton {
|
||||
|
||||
Reference in new issue
Block a user