fix: update navigation routes to /home in payment success screen
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user