mirror of https://github.com/M66B/FairEmail.git
Fixed back navigation
This commit is contained in:
parent
fbe567f3d6
commit
cde3320029
|
@ -304,6 +304,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
setIntent(intent);
|
||||
|
||||
intent.putExtra("thread", action.split(":", 2)[1]);
|
||||
getSupportFragmentManager().popBackStack("unified", 0);
|
||||
onViewThread(intent);
|
||||
}
|
||||
}
|
||||
|
@ -766,8 +767,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
}
|
||||
|
||||
private void onViewThread(Intent intent) {
|
||||
getFragmentManager().popBackStack("thread", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("account", intent.getLongExtra("account", -1));
|
||||
args.putString("thread", intent.getStringExtra("thread"));
|
||||
|
|
Loading…
Reference in New Issue