From 9ecaf19b4c125ff01bce01078c5cefb115c72217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20Ve=CC=81lez?= Date: Sat, 5 Jan 2019 12:18:37 -0500 Subject: [PATCH] FIX: Change prompt to plain text --- ios/BlueWallet/Info.plist | 2 +- screen/lnd/scanLndInvoice.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/BlueWallet/Info.plist b/ios/BlueWallet/Info.plist index 6d52103e..6476d8ff 100644 --- a/ios/BlueWallet/Info.plist +++ b/ios/BlueWallet/Info.plist @@ -33,7 +33,7 @@ CFBundleVersion - 210 + 212 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/screen/lnd/scanLndInvoice.js b/screen/lnd/scanLndInvoice.js index 8bbd89d8..214eb08f 100644 --- a/screen/lnd/scanLndInvoice.js +++ b/screen/lnd/scanLndInvoice.js @@ -95,7 +95,7 @@ export default class ScanLndInvoice extends React.Component { decoded = await w.decodeInvoice(data); let freeAmount = 0; while (+decoded.num_satoshis === 0) { - freeAmount = await prompt('This is free amount invoice', 'How many satoshis do you want to tip?', false, 'numeric'); + freeAmount = await prompt('This is free amount invoice', 'How many satoshis do you want to tip?', false, 'plain-text'); freeAmount = parseInt(freeAmount); if (!isNaN(freeAmount) && freeAmount > 0) { decoded.num_satoshis = freeAmount; @@ -184,7 +184,7 @@ export default class ScanLndInvoice extends React.Component { onPress={async () => { if (this.state.freeAmount) { // must ask user again about the amount - let freeAmount = await prompt('This is free amount invoice', 'How many satoshis do you want to tip?', false, 'numeric'); + let freeAmount = await prompt('This is free amount invoice', 'How many satoshis do you want to tip?', false, 'plain-text'); freeAmount = parseInt(freeAmount); if (!isNaN(freeAmount) && freeAmount > 0) { let decoded = this.state.decoded;