diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-03 21:38:02 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-03 21:38:02 +0200 |
commit | cac0d886bdaee1fbbd57b03192c4f57d5889e40b (patch) | |
tree | 2711e41f8bc0e0f7ebcea363874111c2d88b0e1b /src/main/java/de/pixart/messenger/ui | |
parent | 70e50a27921e2250920c2143c13ccbb0b425377a (diff) |
only highlight alphanumeric chars
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index d658b49bf..148d96bb3 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -1161,8 +1161,8 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie } } - public void setHighlightedTerm(List<String> term) { - this.highlightedTerm = term; + public void setHighlightedTerm(List<String> terms) { + this.highlightedTerm = terms == null ? null : StylingHelper.filterHighlightedWords(terms); } public interface OnQuoteListener { |