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

This commit is contained in:
M66B 2023-03-12 10:36:00 +01:00
parent 3cf19dafc9
commit bfb94b9572
1 changed files with 9 additions and 0 deletions

View File

@ -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);