Change select next unread subject to be void instead of Bool

This commit is contained in:
Maurice Parker 2020-07-24 18:30:54 -05:00
parent bffcfdd67d
commit c5d040fa97
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ final class SceneModel: ObservableObject {
func goToNextUnread() { func goToNextUnread() {
if !timelineModel.goToNextUnread() { if !timelineModel.goToNextUnread() {
timelineModel.isSelectNextUnread = true timelineModel.isSelectNextUnread = true
sidebarModel.selectNextUnread.send(true) sidebarModel.selectNextUnread.send()
} }
} }

View File

@ -27,7 +27,7 @@ class SidebarModel: ObservableObject, UndoableCommandRunner {
var sidebarItemsPublisher: AnyPublisher<[SidebarItem], Never>? var sidebarItemsPublisher: AnyPublisher<[SidebarItem], Never>?
var selectedFeedsPublisher: AnyPublisher<[Feed], Never>? var selectedFeedsPublisher: AnyPublisher<[Feed], Never>?
var selectNextUnread = PassthroughSubject<Bool, Never>() var selectNextUnread = PassthroughSubject<Void, Never>()
var markAllAsReadInFeed = PassthroughSubject<Feed, Never>() var markAllAsReadInFeed = PassthroughSubject<Feed, Never>()
var markAllAsReadInAccount = PassthroughSubject<Account, Never>() var markAllAsReadInAccount = PassthroughSubject<Account, Never>()
var deleteFromAccount = PassthroughSubject<Feed, Never>() var deleteFromAccount = PassthroughSubject<Feed, Never>()