diff --git a/app/src/main/java/org/apache/fineract/ui/online/customers/customerlist/CustomersFragment.java b/app/src/main/java/org/apache/fineract/ui/online/customers/customerlist/CustomersFragment.java index b4d80d1f..13d7ec18 100644 --- a/app/src/main/java/org/apache/fineract/ui/online/customers/customerlist/CustomersFragment.java +++ b/app/src/main/java/org/apache/fineract/ui/online/customers/customerlist/CustomersFragment.java @@ -172,6 +172,7 @@ void addCustomer() { isNewCustomer = true; Intent intent = new Intent(getActivity(), CreateCustomerActivity.class); intent.putExtra(ConstantKeys.CUSTOMER_ACTION, CustomerAction.CREATE); + intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActivity(intent); } diff --git a/app/src/main/java/org/apache/fineract/ui/online/groups/grouplist/GroupListFragment.kt b/app/src/main/java/org/apache/fineract/ui/online/groups/grouplist/GroupListFragment.kt index 448554b6..8b524e58 100644 --- a/app/src/main/java/org/apache/fineract/ui/online/groups/grouplist/GroupListFragment.kt +++ b/app/src/main/java/org/apache/fineract/ui/online/groups/grouplist/GroupListFragment.kt @@ -126,6 +126,7 @@ class GroupListFragment : FineractBaseFragment(), OnItemClickListener { fun addGroup() { val intent = Intent(activity, CreateGroupActivity::class.java).apply { putExtra(Constants.GROUP_ACTION, GroupAction.CREATE) + setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP) } startActivity(intent) }