Fixed warning

This commit is contained in:
M66B 2020-02-11 10:48:31 +01:00
parent c91adfa068
commit e971d725c5
1 changed files with 1 additions and 1 deletions

View File

@ -2996,7 +2996,7 @@ public class FragmentCompose extends FragmentBase {
if (ref.plain_only != null && ref.plain_only)
data.draft.plain_only = true;
if (ref.ui_encrypt != null && ref.ui_encrypt != EntityMessage.ENCRYPT_NONE) {
if (ref.ui_encrypt != null && !EntityMessage.ENCRYPT_NONE.equals(ref.ui_encrypt)) {
data.draft.encrypt = ref.ui_encrypt;
data.draft.ui_encrypt = ref.ui_encrypt;
}