mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-12 12:33:42 +03:00
Add cell model for accounts list
This commit is contained in:
parent
a1ce8909ea
commit
1d7edbb9b4
@ -7,9 +7,15 @@ class AccountsListViewController: NSViewController {
|
||||
private let agent = Agent.shared
|
||||
private let accountsService = AccountsService.shared
|
||||
private var accounts = [Account]()
|
||||
private var cellModels = [CellModel]()
|
||||
|
||||
var onSelectedAccount: ((Account) -> Void)?
|
||||
|
||||
enum CellModel {
|
||||
case account(Account)
|
||||
case addAccountOption(AddAccountOption)
|
||||
}
|
||||
|
||||
enum AddAccountOption {
|
||||
case createNew, importExisting
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user