From c5d040fa97897c5fb08f047e764cf064950ea8dc Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 24 Jul 2020 18:30:54 -0500 Subject: [PATCH] Change select next unread subject to be void instead of Bool --- Multiplatform/Shared/SceneModel.swift | 2 +- Multiplatform/Shared/Sidebar/SidebarModel.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Multiplatform/Shared/SceneModel.swift b/Multiplatform/Shared/SceneModel.swift index 6b181fa9e..6b3ec16d9 100644 --- a/Multiplatform/Shared/SceneModel.swift +++ b/Multiplatform/Shared/SceneModel.swift @@ -57,7 +57,7 @@ final class SceneModel: ObservableObject { func goToNextUnread() { if !timelineModel.goToNextUnread() { timelineModel.isSelectNextUnread = true - sidebarModel.selectNextUnread.send(true) + sidebarModel.selectNextUnread.send() } } diff --git a/Multiplatform/Shared/Sidebar/SidebarModel.swift b/Multiplatform/Shared/Sidebar/SidebarModel.swift index 1b889f335..af064a888 100644 --- a/Multiplatform/Shared/Sidebar/SidebarModel.swift +++ b/Multiplatform/Shared/Sidebar/SidebarModel.swift @@ -27,7 +27,7 @@ class SidebarModel: ObservableObject, UndoableCommandRunner { var sidebarItemsPublisher: AnyPublisher<[SidebarItem], Never>? var selectedFeedsPublisher: AnyPublisher<[Feed], Never>? - var selectNextUnread = PassthroughSubject() + var selectNextUnread = PassthroughSubject() var markAllAsReadInFeed = PassthroughSubject() var markAllAsReadInAccount = PassthroughSubject() var deleteFromAccount = PassthroughSubject()