Fix indentation

This commit is contained in:
Thomas 2020-11-22 11:15:49 +01:00
parent 58f280d347
commit c7f6cdc8c6
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class CommentListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHo
if (comment.isReply()) { if (comment.isReply()) {
int ident = CommentDecorationHelper.getIndentation(comment.getInReplyToCommentId(), comments); int ident = CommentDecorationHelper.getIndentation(comment.getInReplyToCommentId(), comments);
holder.decoration.setVisibility(View.VISIBLE); holder.decoration.setVisibility(View.VISIBLE);
params.setMargins((int) Helper.convertDpToPixel(ident * 15, context), 0, 0, 0); params.setMargins((int) Helper.convertDpToPixel(ident * 10, context), 0, 0, 0);
} else { } else {
holder.decoration.setVisibility(View.GONE); holder.decoration.setVisibility(View.GONE);
params.setMargins(0, 0, 0, 0); params.setMargins(0, 0, 0, 0);