fix: update navigation routes to /home in payment success screen

This commit is contained in:
pradeepkumar
2026-04-02 07:07:19 +05:30
parent 5f146853bd
commit 18cf495672

View File

@@ -73,7 +73,7 @@ class _PaymentSuccessScreenState extends ConsumerState<PaymentSuccessScreen> {
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<PaymentSuccessScreen> {
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(