Change select next unread subject to be void instead of Bool
This commit is contained in:
parent
bffcfdd67d
commit
c5d040fa97
|
@ -57,7 +57,7 @@ final class SceneModel: ObservableObject {
|
|||
func goToNextUnread() {
|
||||
if !timelineModel.goToNextUnread() {
|
||||
timelineModel.isSelectNextUnread = true
|
||||
sidebarModel.selectNextUnread.send(true)
|
||||
sidebarModel.selectNextUnread.send()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class SidebarModel: ObservableObject, UndoableCommandRunner {
|
|||
var sidebarItemsPublisher: AnyPublisher<[SidebarItem], Never>?
|
||||
var selectedFeedsPublisher: AnyPublisher<[Feed], Never>?
|
||||
|
||||
var selectNextUnread = PassthroughSubject<Bool, Never>()
|
||||
var selectNextUnread = PassthroughSubject<Void, Never>()
|
||||
var markAllAsReadInFeed = PassthroughSubject<Feed, Never>()
|
||||
var markAllAsReadInAccount = PassthroughSubject<Account, Never>()
|
||||
var deleteFromAccount = PassthroughSubject<Feed, Never>()
|
||||
|
|
Loading…
Reference in New Issue