1
0
mirror of https://github.com/git-touch/git-touch synced 2025-01-31 08:04:51 +01:00

chore: repository item style

This commit is contained in:
Rongjian Zhang 2019-10-02 15:55:25 +08:00
parent a9d5cfef55
commit 141b80adaa

View File

@ -140,6 +140,7 @@ class RepositoryItem extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: join(SizedBox(height: 8), <Widget>[
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
payload['owner']['login'] + ' / ',
@ -157,6 +158,9 @@ class RepositoryItem extends StatelessWidget {
fontWeight: FontWeight.w600,
),
),
Expanded(child: Container()),
Icon(_buildIconData(),
size: 18, color: PrimerColors.gray600),
],
),
if (payload['description'] != null &&
@ -171,7 +175,6 @@ class RepositoryItem extends StatelessWidget {
]),
),
),
Icon(_buildIconData(), size: 18, color: PrimerColors.gray600),
],
),
),