Commit 808d56ba authored by ueshiba's avatar ueshiba
Browse files

Save the redeemCode in the property

parent c3a77379
......@@ -287,6 +287,7 @@ extension RedeemViewController: RedeemScannerDelegate {
strippedFormat: true),
Validator.validate(giftCode: redeemCode) {
textCode.text = GiftCardUtil.friendlyRedeemCode(redeemCode)
self.redeemCode = redeemCode
} else {
presentAlertWith(title: L10n.Welcome.Redeem.Error.title,
andMessage: L10n.Welcome.Redeem.Error.Qrcode.invalid,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment