From eadac28db7da997e9d609bccdd499d2092d54472 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Sat, 30 Nov 2019 22:54:20 +0800 Subject: [PATCH] fix: review event actor --- lib/widgets/timeline_item.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/widgets/timeline_item.dart b/lib/widgets/timeline_item.dart index 90b579f..4e3a946 100644 --- a/lib/widgets/timeline_item.dart +++ b/lib/widgets/timeline_item.dart @@ -288,9 +288,7 @@ class TimelineItem extends StatelessWidget { case 'ReviewRequestedEvent': return TimelineEventItem( iconData: Octicons.eye, - // actor: payload['author']['login'], - // TODO: - actor: 'test', + actor: payload['actor']['login'], textSpan: TextSpan(children: [ TextSpan(text: ' requested a review from '), createUserSpan(context, payload['requestedReviewer']['login']),