1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-18 19:22:54 +01:00

fix: pull request comment

This commit is contained in:
Rongjian Zhang 2020-01-06 12:50:31 +08:00
parent 68e031ebe5
commit 76cfa7a772

View File

@ -303,7 +303,11 @@ class EventItem extends StatelessWidget {
TextSpan(
text:
' commented on ${e.payload.issue.isPullRequestComment ? 'pull request' : 'issue'} '),
_buildIssue(context, e.payload.issue.number),
_buildIssue(
context,
e.payload.issue.number,
isPullRequest: e.payload.issue.isPullRequestComment,
),
TextSpan(text: ' at '),
_buildRepo(context),
],