From 123c72f8701eaf33d61c3443f42e9bb62870ba16 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 20 Sep 2018 15:45:35 +0000 Subject: [PATCH] Fixed clear account Fixes #108 --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index beb1c2e48e..14737e137f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -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(); } });