#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 4c60dc9a8e
commit 199709978a
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):