From ffe1e88c2f154694759c9519ebd9147525fcba09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20Ve=CC=81lez?= Date: Sat, 5 Jan 2019 02:40:40 -0500 Subject: [PATCH] FIX: Changed invoice description field to label --- screen/lnd/scanLndInvoice.js | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/screen/lnd/scanLndInvoice.js b/screen/lnd/scanLndInvoice.js index 8232b2a5e..ba29afb82 100644 --- a/screen/lnd/scanLndInvoice.js +++ b/screen/lnd/scanLndInvoice.js @@ -234,27 +234,15 @@ export default class ScanLndInvoice extends React.Component { - {}} - placeholder={loc.wallets.details.description} - numberOfLines={1} - value={this.state.hasOwnProperty('decoded') && this.state.decoded !== undefined ? this.state.decoded.description : ''} - style={{ flex: 1, marginHorizontal: 8, minHeight: 33, height: 33 }} - editable={!this.state.isLoading} - /> + + {this.state.hasOwnProperty('decoded') && this.state.decoded !== undefined ? this.state.decoded.description : ''} + {this.state.expiresIn !== undefined && ( Expires in: {this.state.expiresIn}