diff --git a/ConversationsClassic/AppCore/State/AppState.swift b/ConversationsClassic/AppCore/State/AppState.swift index ff00206..56f589f 100644 --- a/ConversationsClassic/AppCore/State/AppState.swift +++ b/ConversationsClassic/AppCore/State/AppState.swift @@ -7,7 +7,6 @@ enum AppFlow: Codable { case contacts case settings case conversation - case createConversation } struct AppState: Stateable { diff --git a/ConversationsClassic/View/BaseNavigationView.swift b/ConversationsClassic/View/BaseNavigationView.swift index 9df484b..558b471 100644 --- a/ConversationsClassic/View/BaseNavigationView.swift +++ b/ConversationsClassic/View/BaseNavigationView.swift @@ -33,9 +33,6 @@ struct BaseNavigationView: View { case .conversation: ConversationScreen() - - case .createConversation: - CreateConversationMainScreen() } } } diff --git a/ConversationsClassic/View/Screens/ChatsListScreen.swift b/ConversationsClassic/View/Screens/ChatsListScreen.swift index ba19103..06d3870 100644 --- a/ConversationsClassic/View/Screens/ChatsListScreen.swift +++ b/ConversationsClassic/View/Screens/ChatsListScreen.swift @@ -17,7 +17,7 @@ struct ChatsListScreen: View { rightButton: .init( image: Image(systemName: "square.and.pencil"), action: { - store.dispatch(.changeFlow(.createConversation)) + print("Create chat") } ) )