mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 10:33:41 +02:00
Made encryption a free feature
This commit is contained in:
@@ -1060,12 +1060,6 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
|
||||
private void onEncrypt() {
|
||||
if (!Helper.isPro(getContext())) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
|
||||
lbm.sendBroadcast(new Intent(ActivityCompose.ACTION_SHOW_PRO));
|
||||
return;
|
||||
}
|
||||
|
||||
if (pgpService.isBound())
|
||||
try {
|
||||
String to = etTo.getText().toString();
|
||||
|
||||
@@ -3375,12 +3375,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
}
|
||||
|
||||
private void onDecrypt(Intent intent) {
|
||||
if (!Helper.isPro(getContext())) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
|
||||
lbm.sendBroadcast(new Intent(ActivityView.ACTION_SHOW_PRO));
|
||||
return;
|
||||
}
|
||||
|
||||
if (pgpService.isBound()) {
|
||||
Intent data = new Intent();
|
||||
data.setAction(OpenPgpApi.ACTION_DECRYPT_VERIFY);
|
||||
|
||||
Reference in New Issue
Block a user