Temporary disable more options button on ionia gift card details screen.

M committed Sep 14, 2022 at 18:22 UTC cb8cf8e77c8e238194380d0b0d97de6f4a8f3e71
1 file changed +13 -13
lib/src/screens/ionia/cards/ionia_gift_card_detail_page.dart
+13 -13
@@ -133,19 +133,19 @@ class IoniaGiftCardDetailPage extends BasePage {
133 if (!viewModel.giftCard.isEmpty) {
134 return Column(
135 children: [
136 - PrimaryButton(
137 - onPressed: () async {
138 - final amount = await Navigator.of(context)
139 - .pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String;
140 - if (amount != null) {
141 - viewModel.updateRemaining(double.parse(amount));
142 - }
143 - },
144 - text: S.of(context).more_options,
145 - color: Theme.of(context).accentTextTheme.caption.color,
146 - textColor: Theme.of(context).primaryTextTheme.title.color,
147 - ),
148 - SizedBox(height: 12),
136 + //PrimaryButton(
137 + // onPressed: () async {
138 + // final amount = await Navigator.of(context)
139 + // .pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String;
140 + // if (amount != null) {
141 + // viewModel.updateRemaining(double.parse(amount));
142 + // }
143 + // },
144 + // text: S.of(context).more_options,
145 + // color: Theme.of(context).accentTextTheme.caption.color,
146 + // textColor: Theme.of(context).primaryTextTheme.title.color,
147 + //),
148 + //SizedBox(height: 12),
149 LoadingPrimaryButton(
150 isLoading: viewModel.redeemState is IsExecutingState,
151 onPressed: () => viewModel.redeem().then(