Fix indentation
This commit is contained in:
parent
58f280d347
commit
c7f6cdc8c6
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue