From bba840d2bfda9d275cb72fe5093973fa9fe1fc77 Mon Sep 17 00:00:00 2001 From: Overtorment Date: Tue, 1 Jan 2019 03:21:14 +0000 Subject: [PATCH] FIX --- screen/lnd/lndViewInvoice.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/screen/lnd/lndViewInvoice.js b/screen/lnd/lndViewInvoice.js index de5713fab..b098344d0 100644 --- a/screen/lnd/lndViewInvoice.js +++ b/screen/lnd/lndViewInvoice.js @@ -1,6 +1,6 @@ /* global alert */ import React, { Component } from 'react'; -import { Animated, ScrollView, StyleSheet, View, TouchableOpacity, Clipboard, Share } from 'react-native'; +import { Animated, ScrollView, StyleSheet, View, TouchableOpacity, Clipboard, Dimensions, Share } from 'react-native'; import { BlueLoading, BlueText, SafeBlueArea, BlueButton, BlueNavigationStyle } from '../../BlueComponents'; import PropTypes from 'prop-types'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; @@ -10,6 +10,7 @@ let BlueApp = require('../../BlueApp'); const loc = require('../../loc'); const EV = require('../../events'); const QRFast = require('react-native-qrcode'); +const { width } = Dimensions.get('window'); export default class LNDViewInvoice extends Component { static navigationOptions = ({ navigation }) => ({ @@ -144,14 +145,14 @@ export default class LNDViewInvoice extends Component { return ( + - {invoice && invoice.amt && Please pay {invoice.amt} sats} {invoice && invoice.description && For: {invoice.description}}