Potential fix for crash when closing a comment too fast

This commit is contained in:
Balazs Toldi 2023-08-18 21:51:30 +02:00
parent 81e2fdcf91
commit 3272f609a8
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -175,7 +175,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
mFragment = fragment;
mExecutor = executor;
mRetrofit = retrofit;
mGlide = Glide.with(activity);
mGlide = Glide.with(activity.getApplicationContext());
mSecondaryTextColor = customThemeWrapper.getSecondaryTextColor();
mCommentTextColor = customThemeWrapper.getCommentColor();
int commentSpoilerBackgroundColor = mCommentTextColor | 0xFF000000;