diff --git a/app/src/main/java/org/mian/gitnex/adapters/IssueCommentsAdapter.java b/app/src/main/java/org/mian/gitnex/adapters/IssueCommentsAdapter.java index 64b59946..a069092c 100644 --- a/app/src/main/java/org/mian/gitnex/adapters/IssueCommentsAdapter.java +++ b/app/src/main/java/org/mian/gitnex/adapters/IssueCommentsAdapter.java @@ -260,10 +260,14 @@ public class IssueCommentsAdapter extends RecyclerView.Adapter getAttachments(issueComment.getId(), view, token), 250); - } + new Handler() + .postDelayed( + () -> { + if (issueComment != null) { + getAttachments(issueComment.getId(), view, token); + } + }, + 250); menu.setOnClickListener( v -> { diff --git a/app/src/main/res/layout/activity_issue_detail.xml b/app/src/main/res/layout/activity_issue_detail.xml index b1b6b679..a758fa50 100644 --- a/app/src/main/res/layout/activity_issue_detail.xml +++ b/app/src/main/res/layout/activity_issue_detail.xml @@ -406,22 +406,22 @@ android:paddingTop="@dimen/dimen8dp" android:paddingBottom="@dimen/dimen8dp" android:textColor="?attr/inputTextColor" - android:layout_marginEnd="@dimen/dimen12dp" - android:textSize="@dimen/dimen14sp" /> + android:layout_marginEnd="@dimen/dimen8dp" + android:textSize="@dimen/dimen16sp" /> 28dp 32dp 36dp + 38dp 40dp 44dp 48dp