another.im-ios/ConversationsClassic/AppData/Stores/NavigationStore.swift

26 lines
470 B
Swift
Raw Normal View History

2024-08-11 00:28:01 +00:00
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
}