1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 06:20:26 +00:00

Simplification

This commit is contained in:
M66B 2024-07-01 09:21:58 +02:00
parent 35c7fe589d
commit e7747992da

View file

@ -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 {