Browse Source

Fixed clear account

Fixes #108
main
M66B 6 years ago
parent
commit
123c72f870
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/src/main/java/eu/faircode/email/FragmentAccount.java

+ 2
- 1
app/src/main/java/eu/faircode/email/FragmentAccount.java View File

@ -323,7 +323,8 @@ public class FragmentAccount extends FragmentEx {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); 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(); fragmentTransaction.commit();
} }
}); });


Loading…
Cancel
Save