Small improvement

pull/168/head
M66B 5 years ago
parent d0a8af140e
commit 26a3381009

@ -1643,7 +1643,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean auto_decrypt = prefs.getBoolean("auto_decrypt", false);
if (auto_decrypt && (is_signed || is_encrypted))
if (auto_decrypt && is_encrypted)
onActionDecrypt(message, true);
cbInline.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {

@ -1218,6 +1218,7 @@ public class FragmentCompose extends FragmentBase {
Intent intent;
if (EntityMessage.PGP_SIGNONLY.equals(draft.encrypt)) {
// TODO use previously selected sign key
intent = new Intent(OpenPgpApi.ACTION_GET_SIGN_KEY_ID);
intent.putExtra(BuildConfig.APPLICATION_ID, working);
} else if (EntityMessage.PGP_SIGNENCRYPT.equals(draft.encrypt)) {

Loading…
Cancel
Save