Check if OpenKeychain is installed

This commit is contained in:
M66B
2020-06-19 20:44:19 +02:00
parent 55a3c3cbb7
commit e242938e2c
2 changed files with 14 additions and 1 deletions

View File

@@ -3377,7 +3377,7 @@ public class FragmentCompose extends FragmentBase {
// Encryption
if (ref.ui_encrypt != null && !EntityMessage.ENCRYPT_NONE.equals(ref.ui_encrypt)) {
if (ActivityBilling.isPro(context))
if (ActivityBilling.isPro(context) && Helper.isOpenKeychainInstalled(context))
data.draft.ui_encrypt = ref.ui_encrypt;
}