Change ReadFilter case unavailable to alwaysRead
This commit is contained in:
parent
654f40a98e
commit
a5b4d570af
|
@ -12,7 +12,7 @@ import RSCore
|
|||
public enum ReadFilter {
|
||||
case read
|
||||
case none
|
||||
case unavailable
|
||||
case alwaysRead
|
||||
}
|
||||
|
||||
public protocol Feed: FeedIdentifiable, ArticleFetcher, DisplayNameProvider, UnreadCountProvider {
|
||||
|
|
|
@ -20,7 +20,7 @@ import Articles
|
|||
final class UnreadFeed: PseudoFeed {
|
||||
|
||||
public var defaultReadFilter: ReadFilter {
|
||||
return .unavailable
|
||||
return .alwaysRead
|
||||
}
|
||||
|
||||
var feedID: FeedIdentifier? {
|
||||
|
|
|
@ -96,7 +96,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
|||
case .read:
|
||||
filterButton.image = AppAssets.filterInactiveImage
|
||||
coordinator.showAllArticles()
|
||||
case .unavailable:
|
||||
case .alwaysRead:
|
||||
filterButton.image = AppAssets.filterActiveImage
|
||||
coordinator.refreshTimeline()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue