Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos committed Feb 15, 2024
1 parent c7b7b0b commit 27164f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,7 @@ class TEIDataFragment : FragmentGlobalAbstract(), TEIDataContracts.View {
?: emptyList(),
onScheduled = {
showToast(getString(R.string.event_created))
binding.isGrouping?.let {
presenter.onGroupingChanged(it)
}
presenter.updateEventList()
},
).show(childFragmentManager, SCHEDULING_DIALOG)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,8 @@ class TEIDataPresenter(
fun getTeiHeader(): String? {
return teiDataRepository.getTeiHeader()
}

fun updateEventList() {
groupingProcessor.onNext(_groupEvents.value)
}
}

0 comments on commit 27164f3

Please sign in to comment.