Simplification

pull/215/head
M66B 6 months ago
parent 35c7fe589d
commit e7747992da

@ -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…
Cancel
Save