Use invisible text for preview text

Like Gmail, Outlook and Apple do
This commit is contained in:
M66B
2024-05-09 17:58:33 +02:00
parent bfa347aa71
commit 12e79ce7e9
13 changed files with 26 additions and 26 deletions

View File

@@ -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) {