improvement: style tweaks

This commit is contained in:
Rongjian Zhang
2020-01-14 13:33:02 +08:00
parent 4f50190309
commit a1bf2555b7
8 changed files with 43 additions and 37 deletions

View File

@@ -74,14 +74,14 @@ class IssueItem extends StatelessWidget {
text: '#${payload['number']}',
style: TextStyle(
color: theme.palette.tertiaryText,
fontSize: 15,
fontWeight: FontWeight.normal,
),
),
],
),
style: TextStyle(
fontSize: 17,
color: theme.palette.primary,
color: theme.palette.text,
fontWeight: FontWeight.w600,
),
),
@@ -107,12 +107,10 @@ class IssueItem extends StatelessWidget {
children: <Widget>[
// FIXME: Deleted user
if (payload['author'] != null) ...[
Link(
url: '/' + payload['author']['login'],
child: Avatar(
size: AvatarSize.extraSmall,
url: payload['author']['avatarUrl'],
),
Avatar(
size: AvatarSize.extraSmall,
url: payload['author']['avatarUrl'],
linkUrl: '/' + payload['author']['login'],
),
SizedBox(width: 4),
Text(