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