mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Update lndViewInvoice.js
This commit is contained in:
parent
a9ea6ad9a7
commit
14904dcb7b
1 changed files with 0 additions and 1 deletions
|
@ -177,7 +177,6 @@ const LNDViewInvoice = () => {
|
||||||
|
|
||||||
const onLayout = e => {
|
const onLayout = e => {
|
||||||
const { height, width } = e.nativeEvent.layout;
|
const { height, width } = e.nativeEvent.layout;
|
||||||
console.warn(height > width);
|
|
||||||
setQRCodeSize(height > width ? width - 40 : e.nativeEvent.layout.width / 1.8);
|
setQRCodeSize(height > width ? width - 40 : e.nativeEvent.layout.width / 1.8);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue