Fix cross referencing issue and pr in timeline

This commit is contained in:
M M Arif
2024-09-22 22:41:33 +05:00
parent 027d9a6c80
commit 6edac2db3e
2 changed files with 4 additions and 4 deletions

View File

@@ -1295,7 +1295,7 @@ public class IssueCommentsAdapter extends RecyclerView.Adapter<RecyclerView.View
context.getString(
R.string.timelineRefIssue,
issueComment.getUser().getLogin(),
issueComment.getRefIssue().getNumber(),
timelineComment.getRefIssue().getHtmlUrl(),
info);
Markdown.render(context, text, recyclerView, issue.getRepository());
} else if (issue.getIssueType().equalsIgnoreCase("Pull")) {
@@ -1303,7 +1303,7 @@ public class IssueCommentsAdapter extends RecyclerView.Adapter<RecyclerView.View
context.getString(
R.string.timelineRefPr,
issueComment.getUser().getLogin(),
issueComment.getRefIssue().getNumber(),
timelineComment.getRefIssue().getHtmlUrl(),
info);
Markdown.render(context, text, recyclerView, issue.getRepository());
}

View File

@@ -902,8 +902,8 @@
<string name="timelineTimeTrackingAddManualTime">%1$s added spent time %2$s %3$s</string>
<string name="timelineTimeTrackingDeleteManualTime">%1$s deleted spent time %2$s %3$s</string>
<string name="timelineChangeIssueRef">%1$s added reference %2$s %3$s</string>
<string name="timelineRefIssue">%1$s referenced this issue in #%2$d %3$s</string>
<string name="timelineRefPr">%1$s referenced this pull request in #%2$d %3$s</string>
<string name="timelineRefIssue">%1$s referenced this issue in %2$s %3$s</string>
<string name="timelineRefPr">%1$s referenced this pull request in %2$s %3$s</string>
<string name="timelineStatusRefIssue"><![CDATA[%1$s referenced this issue from a <font color=\'%2$d\'>%3$s</font> %4$s]]></string>
<string name="timelineReviewLeftComment">%1$s left a comment: %2$s %3$s</string>
<string name="timelinePinned">%1$s pinned this %2$s</string>