fix return button

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-10 23:58:33 +01:00
parent 97bb141a81
commit c8cdc3aac0

View File

@ -419,6 +419,7 @@ public abstract class BaseActivity
sharingFragment = SharingFragment.newInstance(); sharingFragment = SharingFragment.newInstance();
FragmentTransaction ft = getFragmentManager().beginTransaction(); FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.replace(R.id.activity_content, sharingFragment); ft.replace(R.id.activity_content, sharingFragment);
ft.addToBackStack(null);
ft.commit(); ft.commit();
} }
@ -428,6 +429,7 @@ public abstract class BaseActivity
userListFragment = UsersListFragment.newInstance(); userListFragment = UsersListFragment.newInstance();
FragmentTransaction ft = getFragmentManager().beginTransaction(); FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.replace(R.id.activity_content, userListFragment); ft.replace(R.id.activity_content, userListFragment);
ft.addToBackStack(null);
ft.commit(); ft.commit();
} }