aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-05-04 01:04:27 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-05-04 01:04:27 +0000
commitb0f2e89c7b8ebe3eab4d440f4fdd62750d8517f9 (patch)
tree7ca583a025ed41817da745363b3ce9199bf41bd8 /app/src
parent39837030337b472b52ab1d85688472a69fe13e2f (diff)
downloadinfinity-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 '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/WikiActivity.java4
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);
}