From 05bd66c3768912e129a8985a915a52d478a363f5 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 18 Jul 2024 20:59:44 -0700 Subject: [PATCH] have `Get Started` button go to `SendPage` --- lib/features/home/home_page.dart | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/features/home/home_page.dart b/lib/features/home/home_page.dart index 0e0dacb4..7a898087 100644 --- a/lib/features/home/home_page.dart +++ b/lib/features/home/home_page.dart @@ -1,13 +1,11 @@ import 'package:auto_size_text/auto_size_text.dart'; import 'package:didpay/features/account/account_balance_card.dart'; import 'package:didpay/features/did/did_provider.dart'; -import 'package:didpay/features/payment/payment_amount_page.dart'; -import 'package:didpay/features/payment/payment_state.dart'; import 'package:didpay/features/pfis/pfi.dart'; import 'package:didpay/features/pfis/pfis_add_page.dart'; import 'package:didpay/features/pfis/pfis_notifier.dart'; +import 'package:didpay/features/send/send_page.dart'; import 'package:didpay/features/tbdex/tbdex_service.dart'; -import 'package:didpay/features/transaction/transaction.dart'; import 'package:didpay/features/transaction/transaction_tile.dart'; import 'package:didpay/l10n/app_localizations.dart'; import 'package:didpay/shared/loading_message.dart'; @@ -86,7 +84,7 @@ class HomePage extends HookConsumerWidget { context, ref, Loc.of(context).noTransactionsYet, - Loc.of(context).startByAdding, + Loc.of(context).startBySendingMoney, ) : RefreshIndicator( onRefresh: () async => _getExchanges(context, ref, state), @@ -156,11 +154,7 @@ class HomePage extends HookConsumerWidget { MaterialPageRoute( builder: (context) => ref.read(pfisProvider).isEmpty ? const PfisAddPage() - : const PaymentAmountPage( - paymentState: PaymentState( - transactionType: TransactionType.deposit, - ), - ), + : const SendPage(), ), ), child: AutoSizeText(