diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-05-04 01:04:27 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-05-04 01:04:27 +0000 |
commit | b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9 (patch) | |
tree | 7ca583a025ed41817da745363b3ce9199bf41bd8 /app/src | |
parent | 39837030337b472b52ab1d85688472a69fe13e2f (diff) | |
download | infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar.gz infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar.bz2 infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar.lz infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar.xz infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.tar.zst infinity-for-reddit-b0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9.zip |
Fix https://github.com/Docile-Alligator/Infinity-For-Reddit/issues/1408
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java index f07ceaf4..d7dd20da 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java @@ -51,7 +51,6 @@ import ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFi import ml.docilealligator.infinityforreddit.customviews.SwipeLockInterface; import ml.docilealligator.infinityforreddit.customviews.SwipeLockLinearLayoutManager; import ml.docilealligator.infinityforreddit.customviews.slidr.Slidr; -import ml.docilealligator.infinityforreddit.customviews.slidr.widget.SliderPanel; import ml.docilealligator.infinityforreddit.events.SwitchAccountEvent; import ml.docilealligator.infinityforreddit.markdown.MarkdownUtils; import ml.docilealligator.infinityforreddit.utils.JSONUtils; @@ -150,6 +149,9 @@ public class WikiActivity extends BaseActivity { MarkwonPlugin miscPlugin = new AbstractMarkwonPlugin() { @Override public void beforeSetText(@NonNull TextView textView, @NonNull Spanned markdown) { + if (contentTypeface != null) { + textView.setTypeface(contentTypeface); + } textView.setTextColor(markdownColor); } |