Skip to content

Commit

Permalink
MMMMMMMMMOOOOOOOOOOAAAAAAAAARRRRRRRRRRR
Browse files Browse the repository at this point in the history
  • Loading branch information
JAicewizard committed May 8, 2024
1 parent b979241 commit d73ae76
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 1,583 deletions.
2 changes: 0 additions & 2 deletions lib/blocs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ export 'blocs/detail_state.dart';
export 'blocs/food_cubit.dart';
export 'blocs/full_member_cubit.dart';
export 'blocs/list_state.dart';
export 'blocs/payment_user_cubit.dart';
export 'blocs/registration_fields_cubit.dart';
export 'blocs/theme_cubit.dart';
export 'blocs/welcome_cubit.dart';
84 changes: 0 additions & 84 deletions lib/blocs/payment_user_cubit.dart

This file was deleted.

41 changes: 0 additions & 41 deletions lib/blocs/registration_fields_cubit.dart

This file was deleted.

5 changes: 0 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ class _ThaliAppState extends State<ThaliApp> {
value: apiRepository,
child: MultiBlocProvider(
providers: [
BlocProvider(
create: (_) =>
PaymentUserCubit(apiRepository)..load(),
lazy: false,
),
BlocProvider(
create: (_) =>
FullMemberCubit(apiRepository)..load(),
Expand Down
45 changes: 0 additions & 45 deletions lib/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,46 +96,6 @@ final List<RouteBase> routes = [
),
],
),
GoRoute(
path: '/association/committees/:groupSlug',
redirect: (context, state) =>
'/groups/committees/${state.pathParameters['groupSlug']}',
),
GoRoute(
path: '/association/societies/:groupSlug',
redirect: (context, state) =>
'/groups/societies/${state.pathParameters['groupSlug']}',
),
GoRoute(
path: '/association/boards/:groupSlug',
redirect: (context, state) =>
'/groups/boards/${state.pathParameters['groupSlug']}',
),
GoRoute(
path: '/association/committees',
redirect: (context, state) => '/groups/committees',
),
GoRoute(
path: '/association/societies',
redirect: (context, state) => '/groups/societies',
),
GoRoute(
path: '/association/boards',
redirect: (context, state) => '/groups/boards',
),
GoRoute(
path: '/pizzas',
name: 'food',
pageBuilder: (context, state) {
return MaterialPage(
key: state.pageKey,
child: FoodScreen(
pk: (state.extra as Event?)?.foodEvent,
event: state.extra as Event?,
),
);
},
),
GoRoute(
path: '/login',
name: 'login',
Expand All @@ -144,9 +104,4 @@ final List<RouteBase> routes = [
child: const LoginScreen(),
),
),
GoRoute(
path: '/pay',
name: 'pay',
pageBuilder: (context, state) =>
MaterialPage(key: state.pageKey, child: PayScreen())),
];
3 changes: 0 additions & 3 deletions lib/ui/screens.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
export 'screens/album_screen.dart';
export 'screens/albums_screen.dart';
export 'screens/food_screen.dart';
export 'screens/login_screen.dart';
export 'screens/registration_screen.dart';
export 'screens/welcome_screen.dart';
export 'screens/pay_screen.dart';
Loading

0 comments on commit d73ae76

Please sign in to comment.