Skip to content

Commit

Permalink
Merge main into sweep/account-deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 31, 2023
2 parents f9942a9 + 6e97965 commit 2bafac3
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 183 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TrafficReportApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
useMaterial3: true,
),
initialRoute: '/',

routes: {
...map_routes.mapRoutes,
...reports_routes.reportsRoutes,
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/accounts/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'social_connections_page.dart';

Map<String, WidgetBuilder> accountsRoutes = {
'/login': (context) => const LoginPage(),
'/account': (context) => const AccountPage(),
'/accounts': (context) => const AccountPage(),
'/register': (context) => const RegisterPage(),
'/verify': (context) => const VerifyPage(),
'/account-delete-confirm': (context) => const AccountDeleteConfirmPage(),
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/map/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import 'package:flutter/material.dart';
import 'home_map.dart';

Map<String, WidgetBuilder> mapRoutes = {
'/': (context) => const HomeMapScreen(),
'/home': (context) => const HomeMapScreen(),
// ... 其他地圖相關路由
};
49 changes: 0 additions & 49 deletions test/report_service_test.dart

This file was deleted.

25 changes: 0 additions & 25 deletions test/screens/reports/edit_report_screen_test.dart

This file was deleted.

17 changes: 0 additions & 17 deletions test/screens/reports/report_list_screen_test.dart

This file was deleted.

29 changes: 0 additions & 29 deletions test/screens/reports/routes_test.dart

This file was deleted.

30 changes: 0 additions & 30 deletions test/social_service_test.dart

This file was deleted.

30 changes: 0 additions & 30 deletions test/widget_test.dart

This file was deleted.

0 comments on commit 2bafac3

Please sign in to comment.