mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Tap to sign
This commit is contained in:
parent
0bfd7d7ca4
commit
c0b914b6c7
1 changed files with 6 additions and 2 deletions
|
@ -1000,8 +1000,12 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onMenuEncrypt() {
|
||||
encrypt = (EntityMessage.PGP_SIGNENCRYPT.equals(encrypt)
|
||||
? EntityMessage.ENCRYPT_NONE : EntityMessage.PGP_SIGNENCRYPT);
|
||||
if (EntityMessage.PGP_SIGNENCRYPT.equals(encrypt))
|
||||
encrypt = EntityMessage.PGP_SIGNONLY;
|
||||
else if (EntityMessage.PGP_SIGNONLY.equals(encrypt))
|
||||
encrypt = EntityMessage.ENCRYPT_NONE;
|
||||
else
|
||||
encrypt = EntityMessage.PGP_SIGNENCRYPT;
|
||||
getActivity().invalidateOptionsMenu();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
|
|
Loading…
Reference in a new issue