mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Use invisible text for preview text
Like Gmail, Outlook and Apple do
This commit is contained in:
@@ -1003,7 +1003,7 @@ class NotificationHelper {
|
||||
if (notify_preview_all)
|
||||
try {
|
||||
File file = message.getFile(context);
|
||||
preview = HtmlHelper.getFullText(file);
|
||||
preview = HtmlHelper.getFullText(file, true);
|
||||
if (preview != null && preview.length() > MAX_PREVIEW)
|
||||
preview = preview.substring(0, MAX_PREVIEW);
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user