mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-02-05 14:14:47 +01:00
Minor fix to load comment author's icon
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
388b895499
commit
44956bd951
@ -392,7 +392,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (comment.getAuthorIconUrl() == null) {
|
if (comment.getAuthorIconUrl() == null) {
|
||||||
mFragment.loadIcon(comment.getAuthor(), (authorName, iconUrl) -> {
|
mFragment.loadIcon(comment.getAuthorQualifiedName(), (authorName, iconUrl) -> {
|
||||||
if (authorName.equals(comment.getAuthor())) {
|
if (authorName.equals(comment.getAuthor())) {
|
||||||
comment.setAuthorIconUrl(iconUrl);
|
comment.setAuthorIconUrl(iconUrl);
|
||||||
}
|
}
|
||||||
@ -537,7 +537,7 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
|
|||||||
((CommentFullyCollapsedViewHolder) holder).usernameTextView.setText(authorWithPrefix);
|
((CommentFullyCollapsedViewHolder) holder).usernameTextView.setText(authorWithPrefix);
|
||||||
|
|
||||||
if (comment.getAuthorIconUrl() == null) {
|
if (comment.getAuthorIconUrl() == null) {
|
||||||
mFragment.loadIcon(comment.getAuthor(), (authorName, iconUrl) -> {
|
mFragment.loadIcon(comment.getAuthorQualifiedName(), (authorName, iconUrl) -> {
|
||||||
if (authorName.equals(comment.getAuthor())) {
|
if (authorName.equals(comment.getAuthor())) {
|
||||||
comment.setAuthorIconUrl(iconUrl);
|
comment.setAuthorIconUrl(iconUrl);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user