diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-04-20 12:17:07 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-04-20 12:17:07 +0300 |
commit | e74c360bee0da192dc31bff874f4893ad69dbede (patch) | |
tree | 73db920c68fb2847c93bdc187a1c42c5d690f2b4 /app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments | |
parent | 6e7f1a438993c1c6e0caf147323745f0e7e67761 (diff) |
Fix some todos
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsAdapter.java index 9feae2032..412f33418 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsAdapter.java @@ -81,7 +81,7 @@ public class CardCommentsAdapter extends RecyclerView.Adapter<ItemCommentViewHol final Context context = holder.itemView.getContext(); final DeckComment comment = comments.get(position); - ViewUtil.addAvatar(context, holder.binding.avatar, account.getUrl(), comment.getActorId(), DimensionUtil.dpToPx(context, R.dimen.icon_size_details), R.drawable.ic_person_grey600_24dp); + ViewUtil.addAvatar(holder.binding.avatar, account.getUrl(), comment.getActorId(), DimensionUtil.dpToPx(context, R.dimen.icon_size_details), R.drawable.ic_person_grey600_24dp); holder.binding.message.setText(comment.getMessage()); holder.binding.actorDisplayName.setText(comment.getActorDisplayName()); holder.binding.creationDateTime.setText(DateUtil.getRelativeDateTimeString(context, comment.getCreationDateTime().getTime())); |