mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Simplification
This commit is contained in:
parent
35c7fe589d
commit
e7747992da
1 changed files with 57 additions and 63 deletions
|
@ -4692,11 +4692,6 @@ public class FragmentCompose extends FragmentBase {
|
|||
snackbar.setAction(R.string.title_fix, new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (ex.getCause() instanceof CertificateException)
|
||||
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
|
||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
|
||||
.putExtra("tab", "encryption"));
|
||||
else {
|
||||
EntityIdentity identity = (EntityIdentity) spIdentity.getSelectedItem();
|
||||
|
||||
PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(getContext(), getViewLifecycleOwner(), vwAnchor);
|
||||
|
@ -4764,7 +4759,6 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
popupMenu.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
snackbar.show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue