mirror of
https://github.com/git-touch/git-touch
synced 2024-12-24 23:01:18 +01:00
fix: minor fixes
This commit is contained in:
parent
bb0d9d5d01
commit
da48561b62
@ -60,7 +60,7 @@ class EventItem extends StatelessWidget {
|
|||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: join(SizedBox(height: 4), [
|
children: join(SizedBox(height: 6), [
|
||||||
RichText(
|
RichText(
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -197,7 +197,7 @@ class EventItem extends StatelessWidget {
|
|||||||
borderRadius: BorderRadius.all(Radius.circular(4))),
|
borderRadius: BorderRadius.all(Radius.circular(4))),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: join(SizedBox(height: 8), [
|
children: join(SizedBox(height: 6), [
|
||||||
Row(
|
Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
IssueIcon(state, size: 20),
|
IssueIcon(state, size: 20),
|
||||||
@ -233,6 +233,7 @@ class EventItem extends StatelessWidget {
|
|||||||
color: theme.palette.tertiaryText,
|
color: theme.palette.tertiaryText,
|
||||||
)),
|
)),
|
||||||
Expanded(child: Container()),
|
Expanded(child: Container()),
|
||||||
|
if (issue.comments != null) ...[
|
||||||
Icon(
|
Icon(
|
||||||
Octicons.comment,
|
Octicons.comment,
|
||||||
size: 14,
|
size: 14,
|
||||||
@ -244,6 +245,7 @@ class EventItem extends StatelessWidget {
|
|||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: theme.palette.tertiaryText,
|
color: theme.palette.tertiaryText,
|
||||||
)),
|
)),
|
||||||
|
]
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
@ -366,7 +368,8 @@ class EventItem extends StatelessWidget {
|
|||||||
TextSpan(text: ' at '),
|
TextSpan(text: ' at '),
|
||||||
_buildRepo(context),
|
_buildRepo(context),
|
||||||
],
|
],
|
||||||
card: _buildIssueCard(context, pr, pr.body),
|
card: _buildIssueCard(context, pr, e.payload.comment.body,
|
||||||
|
isPullRequest: true),
|
||||||
);
|
);
|
||||||
case 'PushEvent':
|
case 'PushEvent':
|
||||||
return _buildItem(
|
return _buildItem(
|
||||||
|
Loading…
Reference in New Issue
Block a user