mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Added no body warning
This commit is contained in:
@@ -538,8 +538,10 @@ public class MessageHelper {
|
||||
private List<String> warnings = new ArrayList<>();
|
||||
|
||||
String getHtml(Context context) throws MessagingException {
|
||||
if (plain == null && html == null)
|
||||
if (plain == null && html == null) {
|
||||
warnings.add(context.getString(R.string.title_no_body));
|
||||
return null;
|
||||
}
|
||||
|
||||
String result;
|
||||
boolean text = false;
|
||||
|
||||
Reference in New Issue
Block a user