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: [
|
children: [
|
||||||
// Back button
|
// Back button
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => context.go('/'),
|
onTap: () => context.go('/home'),
|
||||||
child: const Icon(Icons.arrow_back,
|
child: const Icon(Icons.arrow_back,
|
||||||
color: AppColors.primaryDark),
|
color: AppColors.primaryDark),
|
||||||
),
|
),
|
||||||
@@ -253,7 +253,7 @@ class _PaymentSuccessScreenState extends ConsumerState<PaymentSuccessScreen> {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
width: 200,
|
width: 200,
|
||||||
child: ElevatedButton.icon(
|
child: ElevatedButton.icon(
|
||||||
onPressed: () => context.go('/'),
|
onPressed: () => context.go('/home'),
|
||||||
icon: const Icon(Icons.dashboard,
|
icon: const Icon(Icons.dashboard,
|
||||||
size: 18, color: Colors.white),
|
size: 18, color: Colors.white),
|
||||||
label: const Text(
|
label: const Text(
|
||||||
|
|||||||
Reference in New Issue
Block a user