mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 09:17:58 +00:00
Fixed highlight search / reformatted
This commit is contained in:
parent
458d1761c6
commit
54206988f1
1 changed files with 3 additions and 3 deletions
|
@ -3035,14 +3035,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
return document.html();
|
return document.html();
|
||||||
} else {
|
} else {
|
||||||
|
if (message.ui_found && found && !TextUtils.isEmpty(searched))
|
||||||
|
HtmlHelper.highlightSearched(context, document, searched);
|
||||||
|
|
||||||
// Cleanup message
|
// Cleanup message
|
||||||
document = HtmlHelper.sanitizeView(context, document, show_images);
|
document = HtmlHelper.sanitizeView(context, document, show_images);
|
||||||
|
|
||||||
HtmlHelper.autoLink(document);
|
HtmlHelper.autoLink(document);
|
||||||
|
|
||||||
if (message.ui_found && found && !TextUtils.isEmpty(searched))
|
|
||||||
HtmlHelper.highlightSearched(context, document, searched);
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
||||||
args.putParcelable("actions", getConversationActions(message, document, context));
|
args.putParcelable("actions", getConversationActions(message, document, context));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue