Use split controller's top navigation controller to present toasts

This commit is contained in:
Andy Uhnak
2022-03-07 20:51:51 +00:00
parent c510495bcf
commit d786e97717
5 changed files with 14 additions and 10 deletions
@@ -18,12 +18,12 @@ import UIKit
protocol SplitViewMasterPresentableDelegate: AnyObject {
/// Navigation router for the split view detail
var detailNavigationRouter: NavigationRouterType? { get }
/// Detail items from the split view
var detailModules: [Presentable] { get }
/// Shared presenter of user indicators for detail views, such as rooms
var detailUserIndicatorPresenter: UserIndicatorTypePresenterProtocol? { get }
/// Replace split view detail with the given detailPresentable
func splitViewMasterPresentable(_ presentable: Presentable, wantsToReplaceDetailWith detailPresentable: Presentable, popCompletion: (() -> Void)?)