fix partial redemption

Godwin Asuquo committed Sep 13, 2022 at 08:13 UTC 406707fa5862cdb5de832ccd5378ad9b1c283fd1
1 file changed +1 -1
lib/src/screens/ionia/cards/ionia_custom_redeem_page.dart
+1 -1
@@ -149,7 +149,7 @@ class IoniaCustomRedeemPage extends BasePage {
149 padding: EdgeInsets.only(bottom: 12),
150 child: PrimaryButton(
151 onPressed: () {
152 - Navigator.of(context).pop(_amountController.text);
152 + Navigator.of(context).pop(ioniaCustomRedeemViewModel.remaining.toString());
153 },
154 isDisabled: ioniaCustomRedeemViewModel.disableRedeem,
155 text: S.of(context).add_custom_redemption,