mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 12:47:26 +01:00
This commit is contained in:
parent
3983703033
commit
b0f2e89c7b
@ -51,7 +51,6 @@ import ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFi
|
|||||||
import ml.docilealligator.infinityforreddit.customviews.SwipeLockInterface;
|
import ml.docilealligator.infinityforreddit.customviews.SwipeLockInterface;
|
||||||
import ml.docilealligator.infinityforreddit.customviews.SwipeLockLinearLayoutManager;
|
import ml.docilealligator.infinityforreddit.customviews.SwipeLockLinearLayoutManager;
|
||||||
import ml.docilealligator.infinityforreddit.customviews.slidr.Slidr;
|
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.events.SwitchAccountEvent;
|
||||||
import ml.docilealligator.infinityforreddit.markdown.MarkdownUtils;
|
import ml.docilealligator.infinityforreddit.markdown.MarkdownUtils;
|
||||||
import ml.docilealligator.infinityforreddit.utils.JSONUtils;
|
import ml.docilealligator.infinityforreddit.utils.JSONUtils;
|
||||||
@ -150,6 +149,9 @@ public class WikiActivity extends BaseActivity {
|
|||||||
MarkwonPlugin miscPlugin = new AbstractMarkwonPlugin() {
|
MarkwonPlugin miscPlugin = new AbstractMarkwonPlugin() {
|
||||||
@Override
|
@Override
|
||||||
public void beforeSetText(@NonNull TextView textView, @NonNull Spanned markdown) {
|
public void beforeSetText(@NonNull TextView textView, @NonNull Spanned markdown) {
|
||||||
|
if (contentTypeface != null) {
|
||||||
|
textView.setTypeface(contentTypeface);
|
||||||
|
}
|
||||||
textView.setTextColor(markdownColor);
|
textView.setTextColor(markdownColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user