mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-29 02:54:44 +01:00
parent
acb651cf92
commit
a708853199
@ -1099,7 +1099,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
((PostCompactBaseViewHolder) holder).titleTextView.setTextColor(mReadPostTitleColor);
|
((PostCompactBaseViewHolder) holder).titleTextView.setTextColor(mReadPostTitleColor);
|
||||||
}
|
}
|
||||||
final String subredditNamePrefixed = post.getSubredditNamePrefixed();
|
final String subredditNamePrefixed = post.getSubredditNamePrefixed();
|
||||||
String subredditName = subredditNamePrefixed.substring(2);
|
String subredditName = subredditNamePrefixed;
|
||||||
String authorPrefixed = post.getAuthorNamePrefixed();
|
String authorPrefixed = post.getAuthorNamePrefixed();
|
||||||
final String title = post.getTitle();
|
final String title = post.getTitle();
|
||||||
int voteType = post.getVoteType();
|
int voteType = post.getVoteType();
|
||||||
@ -1181,7 +1181,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (post.getAuthorIconUrl() == null) {
|
if (post.getAuthorIconUrl() == null) {
|
||||||
String authorName = post.isAuthorDeleted() ? post.getSubredditName() : post.getAuthor();
|
String authorName = post.getSubredditName();
|
||||||
mFragment.loadIcon(authorName, post.isAuthorDeleted(), (subredditOrUserName, iconUrl) -> {
|
mFragment.loadIcon(authorName, post.isAuthorDeleted(), (subredditOrUserName, iconUrl) -> {
|
||||||
if (mActivity != null && getItemCount() > 0 && authorName.equals(subredditOrUserName)) {
|
if (mActivity != null && getItemCount() > 0 && authorName.equals(subredditOrUserName)) {
|
||||||
if (iconUrl == null || iconUrl.equals("")) {
|
if (iconUrl == null || iconUrl.equals("")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user