diff options
author | scria1000 <91804886+scria1000@users.noreply.github.com> | 2021-11-11 08:00:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 08:00:40 +0000 |
commit | 96b9b51b6d4da2060988358f04db6ffce7a0235a (patch) | |
tree | 8f8476803bafa4c6c516b0ddafafda8594375850 /app | |
parent | 2e0ef26d0354f817dc9b1ae3b4cfa53de43f2332 (diff) | |
download | infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar.gz infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar.bz2 infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar.lz infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar.xz infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.tar.zst infinity-for-reddit-96b9b51b6d4da2060988358f04db6ffce7a0235a.zip |
Missed this one
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java index e3a1d53a..e298734c 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java @@ -137,7 +137,7 @@ public class CommentsListingRecyclerViewAdapter extends PagedListAdapter<Comment @Override public void afterSetText(@NonNull TextView textView) { textView.setHighlightColor(Color.TRANSPARENT); - SpannableStringBuilder markdownStringBuilder = new SpannableStringBuilder(textView.getText().toString()); + SpannableStringBuilder markdownStringBuilder = new SpannableStringBuilder(textView.getText()); Pattern spoilerPattern = Pattern.compile(">![\\S\\s]+?!<"); Matcher matcher = spoilerPattern.matcher(markdownStringBuilder); int start = 0; |