added animated to the start of a flow coordinator

This commit is contained in:
Mauro Romito
2025-10-28 14:54:58 +01:00
committed by Mauro
parent f779b22338
commit 9315480621
17 changed files with 32 additions and 29 deletions
@@ -11,11 +11,17 @@ import Foundation
// periphery:ignore - markdown protocol
@MainActor
protocol FlowCoordinatorProtocol {
func start()
func start(animated: Bool)
func handleAppRoute(_ appRoute: AppRoute, animated: Bool)
func clearRoute(animated: Bool)
}
extension FlowCoordinatorProtocol {
func start() {
start(animated: true)
}
}
/// Core parameters that are shared across the main flows for easy dependency injection.
///
/// Please do **not** pass this type directly to screen coordinators/view models.