mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: broken stuff after rnav5 (related #1185)
This commit is contained in:
parent
71c8b74e92
commit
0233903136
2 changed files with 7 additions and 4 deletions
|
@ -349,9 +349,12 @@ export default class Browser extends Component {
|
||||||
text: 'Pay',
|
text: 'Pay',
|
||||||
onPress: () => {
|
onPress: () => {
|
||||||
console.log('OK Pressed');
|
console.log('OK Pressed');
|
||||||
this.props.navigation.navigate('ScanLndInvoice', {
|
this.props.navigation.navigate('ScanLndInvoiceRoot', {
|
||||||
uri: json.sendPayment,
|
screen: 'ScanLndInvoice',
|
||||||
fromSecret: this.state.fromSecret,
|
params: {
|
||||||
|
uri: json.sendPayment,
|
||||||
|
fromSecret: this.state.fromSecret,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -208,7 +208,7 @@ export default class ScanLndInvoice extends React.Component {
|
||||||
};
|
};
|
||||||
|
|
||||||
async pay() {
|
async pay() {
|
||||||
if ('decoded' in this.state) {
|
if (!('decoded' in this.state)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue