chore: using ionicons

This commit is contained in:
Rongjian Zhang
2021-02-01 23:30:19 +08:00
parent f4e5df4068
commit 918d0f3971
9 changed files with 142 additions and 141 deletions

View File

@@ -102,7 +102,7 @@ class ReleaseItem extends StatelessWidget {
theme.push(context, asset.downloadUrl);
}
},
icon: Icon(MaterialCommunityIcons.download)),
icon: Icon(Ionicons.download_outline)),
hideRightChevron: true,
),
])

View File

@@ -129,11 +129,11 @@ class RepositoryItem extends StatelessWidget {
static IconData _buildGlIconData(String visibility) {
switch (visibility) {
case 'internal':
return FontAwesome.shield;
return Ionicons.shield_outline;
case 'public':
return FontAwesome.globe;
return Ionicons.globe_outline;
case 'private':
return FontAwesome.lock;
return Ionicons.lock_closed_outline;
default:
return Octicons.repo;
}