This commit is contained in:
fmodf 2024-08-07 12:03:58 +02:00
parent c8fa4a85b9
commit 82a05e9b6d
3 changed files with 1 additions and 5 deletions

View file

@ -7,7 +7,6 @@ enum AppFlow: Codable {
case contacts
case settings
case conversation
case createConversation
}
struct AppState: Stateable {

View file

@ -33,9 +33,6 @@ struct BaseNavigationView: View {
case .conversation:
ConversationScreen()
case .createConversation:
CreateConversationMainScreen()
}
}
}

View file

@ -17,7 +17,7 @@ struct ChatsListScreen: View {
rightButton: .init(
image: Image(systemName: "square.and.pencil"),
action: {
store.dispatch(.changeFlow(.createConversation))
print("Create chat")
}
)
)