Skip to content

Commit cec1bae

Browse files
fix routing error due to getx implementation
1 parent 9cd58b3 commit cec1bae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/app/routes/app_routes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract class _Paths {
2424
_Paths._();
2525
static const HOME = '/home';
2626
static const ONBOARDING = '/onboarding';
27-
static const SPLASH = '/splash';
27+
static const SPLASH = '/';
2828
static const MANAGE_TASK_SERVER = '/manage-task-server';
2929
static const DETAIL_ROUTE = '/detail-route';
3030
static const PROFILE = '/profile';

test/routes/app_routes_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ void main() {
55
test('Routes should be defined correctly', () {
66
expect(Routes.HOME, '/home');
77
expect(Routes.ONBOARDING, '/onboarding');
8-
expect(Routes.SPLASH, '/splash');
8+
expect(Routes.SPLASH, '/');
99
expect(Routes.MANAGE_TASK_SERVER, '/manage-task-server');
1010
expect(Routes.DETAIL_ROUTE, '/detail-route');
1111
expect(Routes.PROFILE, '/profile');

0 commit comments

Comments
 (0)