mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
added animated to the start of a flow coordinator
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user