Skip to content

Commit

Permalink
Minor refactor in setupViews
Browse files Browse the repository at this point in the history
  • Loading branch information
kudoleh committed Jul 16, 2020
1 parent 673d92a commit 607ed0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ final class MoviesListViewController: UIViewController, StoryboardInstantiable,
override func viewDidLoad() {
super.viewDidLoad()
setupViews()
setupSearchController()
setupBehaviours()
bind(to: viewModel)
viewModel.viewDidLoad()
Expand Down Expand Up @@ -71,6 +70,7 @@ final class MoviesListViewController: UIViewController, StoryboardInstantiable,
private func setupViews() {
title = viewModel.screenTitle
emptyDataLabel.text = viewModel.emptyDataTitle
setupSearchController()
}

private func setupBehaviours() {
Expand Down

0 comments on commit 607ed0a

Please sign in to comment.