mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Fixed intent
This commit is contained in:
parent
4664eadb72
commit
e3520957ed
1 changed files with 5 additions and 0 deletions
|
@ -1039,6 +1039,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
} else if (action.equals("widget")) {
|
||||
long account = intent.getLongExtra("account", -1);
|
||||
long folder = intent.getLongExtra("folder", -1);
|
||||
|
||||
intent.removeExtra("account");
|
||||
intent.removeExtra("folder");
|
||||
setIntent(intent);
|
||||
|
||||
if (account > 0 && folder > 0) {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) {
|
||||
getSupportFragmentManager().popBackStack("messages", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||
|
|
Loading…
Reference in a new issue