From cb8cf8e77c8e238194380d0b0d97de6f4a8f3e71 Mon Sep 17 00:00:00 2001 From: M Date: Wed, 14 Sep 2022 18:22:31 -0400 Subject: [PATCH] Temporary disable more options button on ionia gift card details screen. --- .../cards/ionia_gift_card_detail_page.dart | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/src/screens/ionia/cards/ionia_gift_card_detail_page.dart b/lib/src/screens/ionia/cards/ionia_gift_card_detail_page.dart index 9132ad52a..a6326fc80 100644 --- a/lib/src/screens/ionia/cards/ionia_gift_card_detail_page.dart +++ b/lib/src/screens/ionia/cards/ionia_gift_card_detail_page.dart @@ -133,19 +133,19 @@ class IoniaGiftCardDetailPage extends BasePage { if (!viewModel.giftCard.isEmpty) { return Column( children: [ - PrimaryButton( - onPressed: () async { - final amount = await Navigator.of(context) - .pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String; - if (amount != null) { - viewModel.updateRemaining(double.parse(amount)); - } - }, - text: S.of(context).more_options, - color: Theme.of(context).accentTextTheme.caption.color, - textColor: Theme.of(context).primaryTextTheme.title.color, - ), - SizedBox(height: 12), + //PrimaryButton( + // onPressed: () async { + // final amount = await Navigator.of(context) + // .pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String; + // if (amount != null) { + // viewModel.updateRemaining(double.parse(amount)); + // } + // }, + // text: S.of(context).more_options, + // color: Theme.of(context).accentTextTheme.caption.color, + // textColor: Theme.of(context).primaryTextTheme.title.color, + //), + //SizedBox(height: 12), LoadingPrimaryButton( isLoading: viewModel.redeemState is IsExecutingState, onPressed: () => viewModel.redeem().then(