mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Optimization
This commit is contained in:
@@ -288,8 +288,9 @@ public class ServiceUI extends IntentService {
|
||||
if (body != null)
|
||||
body = "<p>" + body.replaceAll("\\r?\\n", "<br>") + "</p>";
|
||||
|
||||
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);
|
||||
|
||||
DB db = DB.getInstance(this);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user