mirror of
https://github.com/git-touch/git-touch
synced 2025-02-01 08:26:53 +01:00
chore: trending tab text
This commit is contained in:
parent
dc773dbde9
commit
e80881db17
@ -12,7 +12,7 @@ class TrendingScreen extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return TabStatefulScaffold<Iterable>(
|
return TabStatefulScaffold<Iterable>(
|
||||||
title: AppBarTitle('Trending'),
|
title: AppBarTitle('Trending'),
|
||||||
tabs: ['Repositories', 'Users'],
|
tabs: ['Repositories', 'Developers'],
|
||||||
fetchData: (tabIndex) async {
|
fetchData: (tabIndex) async {
|
||||||
final uri = Uri.parse('https://github-trending-api.now.sh')
|
final uri = Uri.parse('https://github-trending-api.now.sh')
|
||||||
.resolve(tabIndex == 1 ? '/developers' : '/');
|
.resolve(tabIndex == 1 ? '/developers' : '/');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user