mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-02-16 12:00:42 +01:00
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()) {
|
||||
int ident = CommentDecorationHelper.getIndentation(comment.getInReplyToCommentId(), comments);
|
||||
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 {
|
||||
holder.decoration.setVisibility(View.GONE);
|
||||
params.setMargins(0, 0, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user