mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
S/MIME is a pro feature
This commit is contained in:
parent
89185ef383
commit
170ae5c307
1 changed files with 5 additions and 2 deletions
|
@ -2263,7 +2263,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
new SimpleTask<EntityMessage>() {
|
new SimpleTask<EntityMessage>() {
|
||||||
@Override
|
@Override
|
||||||
protected EntityMessage onExecute(Context context, Bundle args) throws Throwable {
|
protected EntityMessage onExecute(Context context, Bundle args) {
|
||||||
long id = args.getLong("id");
|
long id = args.getLong("id");
|
||||||
|
|
||||||
DB db = DB.getInstance(context);
|
DB db = DB.getInstance(context);
|
||||||
|
@ -2286,7 +2286,10 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
private void onActionSend(EntityMessage draft) {
|
private void onActionSend(EntityMessage draft) {
|
||||||
if (draft.encrypt != null && draft.encrypt != 0)
|
if (draft.encrypt != null && draft.encrypt != 0)
|
||||||
onEncrypt(draft);
|
if (ActivityBilling.isPro(getContext()))
|
||||||
|
onEncrypt(draft);
|
||||||
|
else
|
||||||
|
startActivity(new Intent(getContext(), ActivityBilling.class));
|
||||||
else
|
else
|
||||||
onAction(R.id.action_send);
|
onAction(R.id.action_send);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue