mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-27 03:18:24 +01:00
Fix community Icon disappearing after post refresh
This commit is contained in:
parent
dd3b72bc1f
commit
40b6722e66
@ -508,7 +508,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
|||||||
} else {
|
} else {
|
||||||
if (mPost.getSubredditIconUrl() == null) {
|
if (mPost.getSubredditIconUrl() == null) {
|
||||||
LoadSubredditIcon.loadSubredditIcon(mExecutor, new Handler(),
|
LoadSubredditIcon.loadSubredditIcon(mExecutor, new Handler(),
|
||||||
mRedditDataRoomDatabase, mPost.getSubredditNamePrefixed().substring(2),
|
mRedditDataRoomDatabase, mPost.getSubredditNamePrefixed(),
|
||||||
mAccessToken, mOauthRetrofit, mRetrofit, iconImageUrl -> {
|
mAccessToken, mOauthRetrofit, mRetrofit, iconImageUrl -> {
|
||||||
if (iconImageUrl == null || iconImageUrl.equals("")) {
|
if (iconImageUrl == null || iconImageUrl.equals("")) {
|
||||||
mGlide.load(R.drawable.subreddit_default_icon)
|
mGlide.load(R.drawable.subreddit_default_icon)
|
||||||
|
Loading…
Reference in New Issue
Block a user