#4746 - Updated ScreenTemplate to include viewState in the viewModel.

This commit is contained in:
Stefan Ceriu
2021-08-26 17:38:01 +03:00
committed by Stefan Ceriu
parent 3600d41611
commit c684a5c6f7
4 changed files with 15 additions and 8 deletions
@@ -129,6 +129,8 @@ final class TemplateScreenViewController: UIViewController {
private func render(viewState: TemplateScreenViewState) {
switch viewState {
case .idle:
break
case .loading:
self.renderLoading()
case .loaded(let displayName):