mirror of https://github.com/M66B/FairEmail.git
Removed exception
This commit is contained in:
parent
2a3b0a881c
commit
720b57b463
|
@ -2476,12 +2476,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onViewThread(Intent intent) {
|
private void onViewThread(Intent intent) {
|
||||||
boolean found = intent.getBooleanExtra("found", false);
|
|
||||||
|
|
||||||
if (lastSnackbar != null && lastSnackbar.isShown())
|
if (lastSnackbar != null && lastSnackbar.isShown())
|
||||||
lastSnackbar.dismiss();
|
lastSnackbar.dismiss();
|
||||||
|
|
||||||
if (!found && getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||||
getSupportFragmentManager().popBackStack("thread", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
getSupportFragmentManager().popBackStack("thread", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||||
|
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
|
@ -2491,7 +2489,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
args.putLong("id", intent.getLongExtra("id", -1));
|
args.putLong("id", intent.getLongExtra("id", -1));
|
||||||
args.putInt("lpos", intent.getIntExtra("lpos", -1));
|
args.putInt("lpos", intent.getIntExtra("lpos", -1));
|
||||||
args.putBoolean("filter_archive", intent.getBooleanExtra("filter_archive", true));
|
args.putBoolean("filter_archive", intent.getBooleanExtra("filter_archive", true));
|
||||||
args.putBoolean("found", found);
|
args.putBoolean("found", intent.getBooleanExtra("found", false));
|
||||||
args.putString("searched", intent.getStringExtra("searched"));
|
args.putString("searched", intent.getStringExtra("searched"));
|
||||||
args.putBoolean("pinned", intent.getBooleanExtra("pinned", false));
|
args.putBoolean("pinned", intent.getBooleanExtra("pinned", false));
|
||||||
args.putString("msgid", intent.getStringExtra("msgid"));
|
args.putString("msgid", intent.getStringExtra("msgid"));
|
||||||
|
|
Loading…
Reference in New Issue