Update lndViewInvoice.js

This commit is contained in:
marcosrdz 2021-02-24 20:58:48 -05:00
parent a9ea6ad9a7
commit 14904dcb7b

View file

@ -177,7 +177,6 @@ const LNDViewInvoice = () => {
const onLayout = e => {
const { height, width } = e.nativeEvent.layout;
console.warn(height > width);
setQRCodeSize(height > width ? width - 40 : e.nativeEvent.layout.width / 1.8);
};