Added option to disable auto plain text only reply

This commit is contained in:
M66B
2023-01-07 18:44:37 +01:00
parent b2fa1c596a
commit 53e6b8625b
4 changed files with 28 additions and 3 deletions

View File

@@ -4630,6 +4630,7 @@ public class FragmentCompose extends FragmentBase {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean plain_only = prefs.getBoolean("plain_only", false);
boolean plain_only_reply = prefs.getBoolean("plain_only_reply", true);
boolean resize_reply = prefs.getBoolean("resize_reply", true);
boolean sign_default = prefs.getBoolean("sign_default", false);
boolean encrypt_default = prefs.getBoolean("encrypt_default", false);
@@ -5074,7 +5075,7 @@ public class FragmentCompose extends FragmentBase {
data.draft.sensitivity = ref.sensitivity;
// Plain-only
if (ref.isPlainOnly())
if (plain_only_reply && ref.isPlainOnly())
data.draft.plain_only = 1;
// Encryption