mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Optimization
This commit is contained in:
@@ -538,8 +538,9 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
if (plain != null && plain)
|
||||
body = body.replace("<div x-plain=\"true\">", "<div>");
|
||||
|
||||
String language = HtmlHelper.getLanguage(this, body);
|
||||
String preview = HtmlHelper.getPreview(body);
|
||||
String text = HtmlHelper.getFullText(body);
|
||||
String language = HtmlHelper.getLanguage(this, text);
|
||||
String preview = HtmlHelper.getPreviewText(text);
|
||||
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user