mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 16:33:47 +00:00
PGP encryption is a free feature
This commit is contained in:
parent
4e4ff9f1b7
commit
dc5df7b6a2
1 changed files with 9 additions and 5 deletions
|
@ -2306,13 +2306,17 @@ public class FragmentCompose extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onActionSend(EntityMessage draft) {
|
private void onActionSend(EntityMessage draft) {
|
||||||
if (draft.encrypt != null && draft.encrypt != 0)
|
if (EntityMessage.SMIME_SIGNONLY.equals(draft.encrypt) ||
|
||||||
if (ActivityBilling.isPro(getContext()))
|
EntityMessage.SMIME_SIGNENCRYPT.equals(draft.encrypt))
|
||||||
onEncrypt(draft);
|
if (!ActivityBilling.isPro(getContext())) {
|
||||||
else
|
|
||||||
startActivity(new Intent(getContext(), ActivityBilling.class));
|
startActivity(new Intent(getContext(), ActivityBilling.class));
|
||||||
else
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (draft.encrypt == null || EntityMessage.ENCRYPT_NONE.equals(draft.encrypt))
|
||||||
onAction(R.id.action_send);
|
onAction(R.id.action_send);
|
||||||
|
else
|
||||||
|
onEncrypt(draft);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onExit() {
|
private void onExit() {
|
||||||
|
|
Loading…
Reference in a new issue