mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Use invisible text for preview text
Like Gmail, Outlook and Apple do
This commit is contained in:
@@ -337,7 +337,7 @@ public class ServiceExternal extends ServiceBase {
|
||||
|
||||
File file = msg.getFile(context);
|
||||
Helper.writeText(file, body);
|
||||
String text = HtmlHelper.getFullText(body);
|
||||
String text = HtmlHelper.getFullText(body, true);
|
||||
msg.preview = HtmlHelper.getPreview(text);
|
||||
msg.language = HtmlHelper.getLanguage(context, msg.subject, text);
|
||||
db.message().setMessageContent(msg.id,
|
||||
|
||||
Reference in New Issue
Block a user