Send dialog: disable key available notice on enabling signing/encrypting

pull/212/head
M66B 2 years ago
parent 3cf19dafc9
commit bfb94b9572

@ -8031,6 +8031,15 @@ public class FragmentCompose extends FragmentBase {
return null;
}
@Override
protected void onExecuted(Bundle args, Void data) {
int encrypt = args.getInt("encrypt");
boolean none = EntityMessage.ENCRYPT_NONE.equals(encrypt);
tvRemindPgp.setVisibility(remind_pgp && none ? View.VISIBLE : View.GONE);
tvRemindSmime.setVisibility(remind_smime && none ? View.VISIBLE : View.GONE);
}
@Override
protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex);

Loading…
Cancel
Save