diff --git a/screen/lnd/lndViewInvoice.js b/screen/lnd/lndViewInvoice.js index d490ef028..99aca7deb 100644 --- a/screen/lnd/lndViewInvoice.js +++ b/screen/lnd/lndViewInvoice.js @@ -107,6 +107,8 @@ const LNDViewInvoice = () => { )[0]; if (typeof updatedUserInvoice !== 'undefined') { setInvoiceStatusChanged(true); + updatedUserInvoice.ispaid = true; + updatedUserInvoice.payment_preimage = 'tttt'; setParams({ invoice: updatedUserInvoice }); setIsLoading(false); if (updatedUserInvoice.ispaid) { @@ -216,7 +218,7 @@ const LNDViewInvoice = () => { description = invoice.memo; } return ( - + { return ( - + {render()} @@ -297,6 +303,10 @@ const styles = StyleSheet.create({ root: { flex: 1, }, + contentContainerStyle: { + flex: 1, + justifyContent: 'space-between', + }, qrCodeContainer: { borderWidth: 6, borderRadius: 8, borderColor: '#FFFFFF' }, valueAmount: { flexDirection: 'row', @@ -332,7 +342,6 @@ const styles = StyleSheet.create({ marginBottom: 16, }, detailsRoot: { - flex: 1, justifyContent: 'flex-end', marginBottom: 24, alignItems: 'center',