1
0
mirror of https://github.com/git-touch/git-touch synced 2025-01-20 11:18:29 +01:00

chore: trending tab text

This commit is contained in:
Rongjian Zhang 2019-12-30 20:55:56 +08:00
parent dc773dbde9
commit e80881db17

View File

@ -12,7 +12,7 @@ class TrendingScreen extends StatelessWidget {
Widget build(BuildContext context) {
return TabStatefulScaffold<Iterable>(
title: AppBarTitle('Trending'),
tabs: ['Repositories', 'Users'],
tabs: ['Repositories', 'Developers'],
fetchData: (tabIndex) async {
final uri = Uri.parse('https://github-trending-api.now.sh')
.resolve(tabIndex == 1 ? '/developers' : '/');