Made encryption a free feature

pull/160/head
M66B 5 years ago
parent c3d41e6a9a
commit 3e88be112d

@ -35,6 +35,7 @@ This app starts a foreground service with a low priority status bar notification
* Flat [conversation threading](https://en.wikipedia.org/wiki/Conversation_threading) * Flat [conversation threading](https://en.wikipedia.org/wiki/Conversation_threading)
* Two way synchronization * Two way synchronization
* Offline storage and operations * Offline storage and operations
* Encryption/decryption ([OpenPGP](https://www.openpgp.org/))
* Battery friendly * Battery friendly
* Low data usage * Low data usage
* Small (< 10 MB) * Small (< 10 MB)
@ -66,7 +67,6 @@ All pro features are convenience or advanced features.
* Search on device or server ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq13)) * Search on device or server ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq13))
* Keyword management * Keyword management
* Biometric authentication ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq113)) * Biometric authentication ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq113))
* Encryption/decryption ([OpenPGP](https://www.openpgp.org/)) ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq12))
* Unified inbox widget * Unified inbox widget
* Export settings * Export settings

@ -1060,12 +1060,6 @@ public class FragmentCompose extends FragmentBase {
} }
private void onEncrypt() { private void onEncrypt() {
if (!Helper.isPro(getContext())) {
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
lbm.sendBroadcast(new Intent(ActivityCompose.ACTION_SHOW_PRO));
return;
}
if (pgpService.isBound()) if (pgpService.isBound())
try { try {
String to = etTo.getText().toString(); String to = etTo.getText().toString();

@ -3375,12 +3375,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
} }
private void onDecrypt(Intent intent) { 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()) { if (pgpService.isBound()) {
Intent data = new Intent(); Intent data = new Intent();
data.setAction(OpenPgpApi.ACTION_DECRYPT_VERIFY); data.setAction(OpenPgpApi.ACTION_DECRYPT_VERIFY);

Loading…
Cancel
Save