wip
This commit is contained in:
parent
c8fa4a85b9
commit
82a05e9b6d
|
@ -7,7 +7,6 @@ enum AppFlow: Codable {
|
|||
case contacts
|
||||
case settings
|
||||
case conversation
|
||||
case createConversation
|
||||
}
|
||||
|
||||
struct AppState: Stateable {
|
||||
|
|
|
@ -33,9 +33,6 @@ struct BaseNavigationView: View {
|
|||
|
||||
case .conversation:
|
||||
ConversationScreen()
|
||||
|
||||
case .createConversation:
|
||||
CreateConversationMainScreen()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ struct ChatsListScreen: View {
|
|||
rightButton: .init(
|
||||
image: Image(systemName: "square.and.pencil"),
|
||||
action: {
|
||||
store.dispatch(.changeFlow(.createConversation))
|
||||
print("Create chat")
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue