mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Send dialog: disable key available notice on enabling signing/encrypting
This commit is contained in:
parent
3cf19dafc9
commit
bfb94b9572
1 changed files with 9 additions and 0 deletions
|
@ -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…
Reference in a new issue