Skip to content

Commit

Permalink
have Get Started button go to SendPage
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd committed Jul 19, 2024
1 parent d4dbe69 commit 05bd66c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lib/features/home/home_page.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 05bd66c

Please sign in to comment.