Fixed clear account

Fixes #108
This commit is contained in:
M66B 2018-09-20 15:45:35 +00:00
parent 679556271f
commit 123c72f870
1 changed files with 2 additions and 1 deletions

View File

@ -323,7 +323,8 @@ public class FragmentAccount extends FragmentEx {
@Override
public void onClick(View v) {
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.content_frame, new FragmentPro()).addToBackStack("pro");
fragmentTransaction.hide(FragmentAccount.this);
fragmentTransaction.add(R.id.content_frame, new FragmentPro()).addToBackStack("pro");
fragmentTransaction.commit();
}
});