Skip to content

Commit 0b62392

Browse files
committed
Minor refactor in setupViews
1 parent 3db3dfe commit 0b62392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExampleMVVM/Presentation/MoviesScene/MoviesList/View/MoviesListViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ final class MoviesListViewController: UIViewController, StoryboardInstantiable,
3434
override func viewDidLoad() {
3535
super.viewDidLoad()
3636
setupViews()
37-
setupSearchController()
3837
setupBehaviours()
3938
bind(to: viewModel)
4039
viewModel.viewDidLoad()
@@ -71,6 +70,7 @@ final class MoviesListViewController: UIViewController, StoryboardInstantiable,
7170
private func setupViews() {
7271
title = viewModel.screenTitle
7372
emptyDataLabel.text = viewModel.emptyDataTitle
73+
setupSearchController()
7474
}
7575

7676
private func setupBehaviours() {

0 commit comments

Comments
 (0)