fix partial redemption

This commit is contained in:
Godwin Asuquo 2022-09-13 08:13:20 +03:00
parent 13a95ab11f
commit 406707fa58

View file

@ -149,7 +149,7 @@ class IoniaCustomRedeemPage extends BasePage {
padding: EdgeInsets.only(bottom: 12),
child: PrimaryButton(
onPressed: () {
Navigator.of(context).pop(_amountController.text);
Navigator.of(context).pop(ioniaCustomRedeemViewModel.remaining.toString());
},
isDisabled: ioniaCustomRedeemViewModel.disableRedeem,
text: S.of(context).add_custom_redemption,