mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
Merge branch 'master' into strg
This commit is contained in:
commit
a8c00f6779
2 changed files with 7 additions and 4 deletions
|
@ -349,9 +349,12 @@ export default class Browser extends Component {
|
|||
text: 'Pay',
|
||||
onPress: () => {
|
||||
console.log('OK Pressed');
|
||||
this.props.navigation.navigate('ScanLndInvoice', {
|
||||
uri: json.sendPayment,
|
||||
fromSecret: this.state.fromSecret,
|
||||
this.props.navigation.navigate('ScanLndInvoiceRoot', {
|
||||
screen: 'ScanLndInvoice',
|
||||
params: {
|
||||
uri: json.sendPayment,
|
||||
fromSecret: this.state.fromSecret,
|
||||
},
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
@ -208,7 +208,7 @@ export default class ScanLndInvoice extends React.Component {
|
|||
};
|
||||
|
||||
async pay() {
|
||||
if ('decoded' in this.state) {
|
||||
if (!('decoded' in this.state)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue