fix: event payload ref in create,delete events (#71)

This commit is contained in:
Shreyas Thirumalai 2020-04-26 20:36:19 +05:30 committed by GitHub
parent 54a2d71891
commit 561970ab59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -308,7 +308,8 @@ class EventItem extends StatelessWidget {
return _buildItem(
context: context,
spans: <InlineSpan>[
TextSpan(text: ' created a ${e.payload.refType} '),
TextSpan(text: ' created ${e.payload.refType} '),
TextSpan(text: '${e.payload.ref} at '),
_buildRepo(context),
],
);
@ -317,6 +318,7 @@ class EventItem extends StatelessWidget {
context: context,
spans: <InlineSpan>[
TextSpan(text: ' deleted ${e.payload.refType} '),
TextSpan(text: '${e.payload.ref} at '),
_buildRepo(context),
],
);