diff --git a/Projects/Flow/Sources/ChatFlow.swift b/Projects/Flow/Sources/ChatFlow.swift index 2b07194..fe62b30 100644 --- a/Projects/Flow/Sources/ChatFlow.swift +++ b/Projects/Flow/Sources/ChatFlow.swift @@ -22,13 +22,13 @@ public final class ChatFlow: Flow { guard let step = step as? ChatStep else { return .none } switch step { case .chatIsRequired: - return presentChat() + return navigateToChat() } } } extension ChatFlow { - private func presentChat() -> FlowContributors { + private func navigateToChat() -> FlowContributors { let chatViewController = container.resolve(ChatViewController.self)! self.rootViewController.pushViewController(chatViewController, animated: false) return .one(flowContributor: .contribute( diff --git a/Projects/Flow/Sources/FriendsFlow.swift b/Projects/Flow/Sources/FriendsFlow.swift index cba772c..b2d674d 100644 --- a/Projects/Flow/Sources/FriendsFlow.swift +++ b/Projects/Flow/Sources/FriendsFlow.swift @@ -22,13 +22,13 @@ public final class FriendsFlow: Flow { guard let step = step as? FriendsStep else { return .none } switch step { case .friendsIsRequired: - return presentFriends() + return navigateToFriends() } } } extension FriendsFlow { - private func presentFriends() -> FlowContributors { + private func navigateToFriends() -> FlowContributors { let friendsViewController = container.resolve(FriendsViewController.self)! self.rootViewController.pushViewController(friendsViewController, animated: false) return .one(flowContributor: .contribute( diff --git a/Projects/Flow/Sources/StoreFlow.swift b/Projects/Flow/Sources/StoreFlow.swift index e9faac6..5194193 100644 --- a/Projects/Flow/Sources/StoreFlow.swift +++ b/Projects/Flow/Sources/StoreFlow.swift @@ -22,13 +22,13 @@ public final class StoreFlow: Flow { guard let step = step as? StoreStep else { return .none } switch step { case .storeIsRequired: - return presentStore() + return navigateToStore() } } } extension StoreFlow { - private func presentStore() -> FlowContributors { + private func navigateToStore() -> FlowContributors { let storeViewController = container.resolve(StoreViewController.self)! self.rootViewController.pushViewController(storeViewController, animated: false) return .one(flowContributor: .contribute( diff --git a/Projects/Flow/Sources/TabsFlow.swift b/Projects/Flow/Sources/TabsFlow.swift index 4d34a6d..bf22c7f 100644 --- a/Projects/Flow/Sources/TabsFlow.swift +++ b/Projects/Flow/Sources/TabsFlow.swift @@ -22,13 +22,13 @@ public final class TabsFlow: Flow { guard let step = step as? AppStep else { return .none } switch step { case .tabIsRequired: - return presentTabs() + return navigateToTabs() default: return .none } } // swiftlint: disable function_body_length - private func presentTabs() -> FlowContributors { + private func navigateToTabs() -> FlowContributors { let chatFlow = ChatFlow(container: container) let friendsFlow = FriendsFlow(container: container) let storeFlow = StoreFlow(container: container)