diff --git a/app/src/main/java/org/mifos/mobile/ui/fragments/BeneficiaryApplicationFragment.kt b/app/src/main/java/org/mifos/mobile/ui/fragments/BeneficiaryApplicationFragment.kt index 9092aba4f..4a06b5306 100644 --- a/app/src/main/java/org/mifos/mobile/ui/fragments/BeneficiaryApplicationFragment.kt +++ b/app/src/main/java/org/mifos/mobile/ui/fragments/BeneficiaryApplicationFragment.kt @@ -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) } /**