From 116deebf8794c2c41fba0b9fdb7a564d6ec28fc2 Mon Sep 17 00:00:00 2001 From: Balazs Toldi Date: Fri, 18 Aug 2023 23:35:33 +0200 Subject: [PATCH] Use application context for MarkdownUtils --- .../CommentsListingRecyclerViewAdapter.java | 2 +- .../adapters/CommentsRecyclerViewAdapter.java | 2 +- .../adapters/PostDetailRecyclerViewAdapter.java | 2 +- .../adapters/RulesRecyclerViewAdapter.java | 16 ++++++++-------- .../fragments/SidebarFragment.java | 2 +- .../infinityforlemmy/markdown/MarkdownUtils.java | 4 +++- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/adapters/CommentsListingRecyclerViewAdapter.java b/app/src/main/java/eu/toldi/infinityforlemmy/adapters/CommentsListingRecyclerViewAdapter.java index d3b1d996..a89fa72b 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/adapters/CommentsListingRecyclerViewAdapter.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/adapters/CommentsListingRecyclerViewAdapter.java @@ -168,7 +168,7 @@ public class CommentsListingRecyclerViewAdapter extends PagedListAdapter { private BaseActivity activity; @@ -81,7 +81,7 @@ public class RulesRecyclerViewAdapter extends RecyclerView.Adapter