Skip to content

Commit

Permalink
fix lateinit variable
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo <[email protected]>
  • Loading branch information
Balcan committed Feb 8, 2024
1 parent 80db85f commit 3f3af35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ class TEIDataFragment : FragmentGlobalAbstract(), TEIDataContracts.View {
savedInstanceState: Bundle?,
): View {
return FragmentTeiDataBinding.inflate(inflater, container, false).also { binding ->
this.binding = binding
dashboardViewModel.groupByStage.observe(viewLifecycleOwner) { group ->
this.binding = binding
showLoadingProgress(false)
presenter.onGroupingChanged(group)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class TEIDataPresenter(

fun fetchEvents(updateEnrollment: Boolean) {
if (updateEnrollment) {
groupingProcessor.onNext(groupingProcessor.value)
groupingProcessor.onNext(dashboardRepository.getGrouping())
}
}

Expand Down

0 comments on commit 3f3af35

Please sign in to comment.