Change ReadFilter case unavailable to alwaysRead

This commit is contained in:
Maurice Parker 2019-11-22 09:32:27 -06:00
parent 654f40a98e
commit a5b4d570af
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import RSCore
public enum ReadFilter {
case read
case none
case unavailable
case alwaysRead
}
public protocol Feed: FeedIdentifiable, ArticleFetcher, DisplayNameProvider, UnreadCountProvider {

View File

@ -20,7 +20,7 @@ import Articles
final class UnreadFeed: PseudoFeed {
public var defaultReadFilter: ReadFilter {
return .unavailable
return .alwaysRead
}
var feedID: FeedIdentifier? {

View File

@ -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()
}