Skip to content

Commit

Permalink
update: [ANDROAPP-4826] the InfoBar doesn't appears when the form is …
Browse files Browse the repository at this point in the history
…loading
  • Loading branch information
DavidAparicioAlbaAsenjo committed Feb 19, 2024
1 parent 1b642a0 commit e29cc3e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions form/src/main/java/org/dhis2/form/ui/FormView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,14 @@ class FormView : Fragment() {
val sections = items?.let {
formSectionMapper.mapFromFieldUiModelList(it)
} ?: emptyList()
Form(
sections = sections,
intentHandler = ::intentHandler,
uiEventHandler = ::uiEventHandler,
resources = Injector.provideResourcesManager(context),
)
if (viewModel.loading.value == false) {
Form(
sections = sections,
intentHandler = ::intentHandler,
uiEventHandler = ::uiEventHandler,
resources = Injector.provideResourcesManager(context),
)
}
}
}
} else {
Expand Down

0 comments on commit e29cc3e

Please sign in to comment.