Skip to content

Commit

Permalink
Fixes openMF#1710: Beneficiary List updates as beneficiary created
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelVatsalB21 committed Feb 13, 2021
1 parent ba265f1 commit 83f9eb4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ class BeneficiaryApplicationFragment : BaseFragment(), BeneficiaryApplicationVie
*/
override fun showBeneficiaryCreatedSuccessfully() {
Toaster.show(rootView, getString(R.string.beneficiary_created_successfully))
activity?.finish()
(activity as BaseActivity?)?.clearFragmentBackStack()
(activity as BaseActivity?)?.replaceFragment(BeneficiaryListFragment.newInstance(), false, R.id.container)
}

/**
Expand Down

0 comments on commit 83f9eb4

Please sign in to comment.