mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
FIX: Change prompt to plain text
This commit is contained in:
parent
e00961fb10
commit
9ecaf19b4c
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>210</string>
|
||||
<string>212</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue