improvement: show primary language name

This commit is contained in:
Rongjian Zhang 2020-01-22 18:47:58 +08:00
parent 4215ce8604
commit 90d471a8ca
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class RepositoryScreen extends StatelessWidget {
if (ref != null) if (ref != null)
TableViewItem( TableViewItem(
leftIconData: Octicons.code, leftIconData: Octicons.code,
text: Text('Code'), text: Text(repo.primaryLanguage?.name ?? 'Code'),
rightWidget: Text( rightWidget: Text(
(license == null ? '' : '$license') + (license == null ? '' : '$license') +
filesize(repo.diskUsage * 1000), filesize(repo.diskUsage * 1000),