mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Fix review remarks
This commit is contained in:
@@ -363,13 +363,13 @@ extension SplitViewCoordinator: SplitViewMasterPresentableDelegate {
|
||||
detailNavigationRouter.push(detailPresentable, animated: true, popCompletion: popCompletion)
|
||||
}
|
||||
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToReplaceDetailsWith modules: [PresentableModule]) {
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToReplaceDetailsWith modules: [NavigationModule]) {
|
||||
MXLog.debug("[SplitViewCoordinator] splitViewMasterPresentable: \(presentable) wantsToReplaceDetailsWith modules: \(modules)")
|
||||
|
||||
self.detailNavigationRouter?.setModules(modules, animated: true)
|
||||
}
|
||||
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToStack modules: [PresentableModule]) {
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToStack modules: [NavigationModule]) {
|
||||
guard let detailNavigationRouter = self.detailNavigationRouter else {
|
||||
MXLog.warning("[SplitViewCoordinator] Failed to stack \(modules) because detailNavigationRouter is nil")
|
||||
return
|
||||
|
||||
@@ -28,10 +28,10 @@ protocol SplitViewMasterPresentableDelegate: AnyObject {
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToStack detailPresentable: Presentable, popCompletion: (() -> Void)?)
|
||||
|
||||
/// Replace split view detail with the given modules
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToReplaceDetailsWith modules: [PresentableModule])
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToReplaceDetailsWith modules: [NavigationModule])
|
||||
|
||||
/// Stack modules on the existing split view detail stack
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToStack modules: [PresentableModule])
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToStack modules: [NavigationModule])
|
||||
|
||||
/// Pop to module on the existing split view detail stack
|
||||
func splitViewMasterPresentable(_ presentable: Presentable, wantsToPopTo module: Presentable)
|
||||
|
||||
Reference in New Issue
Block a user