1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

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

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