mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
Temporary disable more options button on ionia gift card details screen.
This commit is contained in:
parent
3f931ed8f2
commit
cb8cf8e77c
1 changed files with 13 additions and 13 deletions
|
@ -133,19 +133,19 @@ class IoniaGiftCardDetailPage extends BasePage {
|
||||||
if (!viewModel.giftCard.isEmpty) {
|
if (!viewModel.giftCard.isEmpty) {
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
PrimaryButton(
|
//PrimaryButton(
|
||||||
onPressed: () async {
|
// onPressed: () async {
|
||||||
final amount = await Navigator.of(context)
|
// final amount = await Navigator.of(context)
|
||||||
.pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String;
|
// .pushNamed(Routes.ioniaMoreOptionsPage, arguments: [viewModel.giftCard]) as String;
|
||||||
if (amount != null) {
|
// if (amount != null) {
|
||||||
viewModel.updateRemaining(double.parse(amount));
|
// viewModel.updateRemaining(double.parse(amount));
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
text: S.of(context).more_options,
|
// text: S.of(context).more_options,
|
||||||
color: Theme.of(context).accentTextTheme.caption.color,
|
// color: Theme.of(context).accentTextTheme.caption.color,
|
||||||
textColor: Theme.of(context).primaryTextTheme.title.color,
|
// textColor: Theme.of(context).primaryTextTheme.title.color,
|
||||||
),
|
//),
|
||||||
SizedBox(height: 12),
|
//SizedBox(height: 12),
|
||||||
LoadingPrimaryButton(
|
LoadingPrimaryButton(
|
||||||
isLoading: viewModel.redeemState is IsExecutingState,
|
isLoading: viewModel.redeemState is IsExecutingState,
|
||||||
onPressed: () => viewModel.redeem().then(
|
onPressed: () => viewModel.redeem().then(
|
||||||
|
|
Loading…
Reference in a new issue