mirror of https://github.com/M66B/FairEmail.git
Disable encrypt/decrypt in outbox
This commit is contained in:
parent
3dc0a2f4a7
commit
f7e19fd69d
|
@ -2060,9 +2060,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
!EntityMessage.SMIME_SIGNENCRYPT.equals(message.encrypt))
|
!EntityMessage.SMIME_SIGNENCRYPT.equals(message.encrypt))
|
||||||
? R.drawable.baseline_lock_24 : R.drawable.baseline_lock_open_24
|
? R.drawable.baseline_lock_24 : R.drawable.baseline_lock_open_24
|
||||||
);
|
);
|
||||||
ibDecrypt.setVisibility(args.getBoolean("inline_encrypted") ||
|
ibDecrypt.setVisibility(!EntityFolder.OUTBOX.equals(message.folderType) &&
|
||||||
|
(args.getBoolean("inline_encrypted") ||
|
||||||
EntityMessage.PGP_SIGNENCRYPT.equals(message.ui_encrypt) ||
|
EntityMessage.PGP_SIGNENCRYPT.equals(message.ui_encrypt) ||
|
||||||
EntityMessage.SMIME_SIGNENCRYPT.equals(message.ui_encrypt)
|
EntityMessage.SMIME_SIGNENCRYPT.equals(message.ui_encrypt))
|
||||||
? View.VISIBLE : View.GONE);
|
? View.VISIBLE : View.GONE);
|
||||||
|
|
||||||
boolean signed_data = args.getBoolean("signed_data");
|
boolean signed_data = args.getBoolean("signed_data");
|
||||||
|
|
Loading…
Reference in New Issue