Files
App/lib/route_activitypub.patch

24 lines
893 B
Diff

import 'package:island/screens/activitypub/activitypub.dart';
Add to Explore tab routes, after postCategoryDetail route:
GoRoute(
name: 'activitypubSearch',
path: '/activitypub/search',
builder: (context, state) => const ActivityPubSearchScreen(),
),
GoRoute(
name: 'activitypubFollowing',
path: '/activitypub/following',
builder: (context, state) => const ActivityPubListScreen(
type: ActivityPubListType.following,
),
),
GoRoute(
name: 'activitypubFollowers',
path: '/activitypub/followers',
builder: (context, state) => const ActivityPubListScreen(
type: ActivityPubListType.followers,
),
),