another.im-ios/ConversationsClassic/AppCore/State/AccountsState.swift
2024-06-19 17:15:27 +02:00

19 lines
322 B
Swift

enum AccountNavigationState: Stateable {
case addAccount
}
struct AccountsState: Stateable {
var navigation: AccountNavigationState
var accounts: [Account]
var addAccountError: String?
}
// MARK: Init
extension AccountsState {
init() {
navigation = .addAccount
accounts = []
}
}