Skip to content

Commit

Permalink
Small renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
goergisn committed Oct 24, 2023
1 parent 1ff5d07 commit c38ed10
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private extension AddressLookupViewController {
private func buildSearchViewController() -> SearchViewController {

AddressLookupSearchViewController(
viewModel: viewModel.addressSearchViewModel { [weak self] viewController in
viewModel: viewModel.buildAddressSearchViewModel { [weak self] viewController in
self?.presentViewController(viewController, animated: true)
}
)
Expand All @@ -49,7 +49,7 @@ private extension AddressLookupViewController {
private func buildFormViewController(prefillAddress: PostalAddress?) -> AddressInputFormViewController {

AddressInputFormViewController(
viewModel: viewModel.addressInputFormViewModel(with: prefillAddress)
viewModel: viewModel.buildAddressInputFormViewModel(with: prefillAddress)
)
}
}
Expand Down Expand Up @@ -81,7 +81,7 @@ private extension AddressLookupViewController {

internal extension AddressLookupViewController.ViewModel {

func addressInputFormViewModel(
func buildAddressInputFormViewModel(
with prefillAddress: PostalAddress?
) -> AddressInputFormViewController.ViewModel {

Expand All @@ -96,7 +96,7 @@ internal extension AddressLookupViewController.ViewModel {
)
}

func addressSearchViewModel(
func buildAddressSearchViewModel(
presentationHandler: @escaping (UIViewController) -> Void
) -> AddressLookupSearchViewController.ViewModel {

Expand Down

0 comments on commit c38ed10

Please sign in to comment.