1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-18 19:22:54 +01:00

improvement: show primary language name

This commit is contained in:
Rongjian Zhang 2020-01-22 18:47:58 +08:00
parent 4215ce8604
commit 90d471a8ca

View File

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