From 18cf495672c608c1d264ac1c23908781d937e158 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Thu, 2 Apr 2026 07:07:19 +0530 Subject: [PATCH] fix: update navigation routes to /home in payment success screen --- .../profile/presentation/screens/payment_success_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/features/profile/presentation/screens/payment_success_screen.dart b/lib/features/profile/presentation/screens/payment_success_screen.dart index 742d9da..579a2a5 100644 --- a/lib/features/profile/presentation/screens/payment_success_screen.dart +++ b/lib/features/profile/presentation/screens/payment_success_screen.dart @@ -73,7 +73,7 @@ class _PaymentSuccessScreenState extends ConsumerState { children: [ // Back button GestureDetector( - onTap: () => context.go('/'), + onTap: () => context.go('/home'), child: const Icon(Icons.arrow_back, color: AppColors.primaryDark), ), @@ -253,7 +253,7 @@ class _PaymentSuccessScreenState extends ConsumerState { SizedBox( width: 200, child: ElevatedButton.icon( - onPressed: () => context.go('/'), + onPressed: () => context.go('/home'), icon: const Icon(Icons.dashboard, size: 18, color: Colors.white), label: const Text(