another.im-ios/ConversationsClassic/AppData/Stores/NavigationStore.swift
2024-08-11 13:09:29 +02:00

26 lines
470 B
Swift

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
}