import Combine import Foundation @MainActor final class NavigationStore: ObservableObject { enum Flow: Equatable { enum Entering { case welcome case login case registration } enum Main { case contacts case conversations case settings } case start case entering(Entering) case main(Main) } @Published var flow: Flow = .start }