Browse Source

FIX: Changed invoice description field to label

zigzag
Marcos Rodriguez Vélez 6 years ago
parent
commit
ffe1e88c2f
  1. 18
      screen/lnd/scanLndInvoice.js

18
screen/lnd/scanLndInvoice.js

@ -234,27 +234,15 @@ export default class ScanLndInvoice extends React.Component {
<View <View
style={{ style={{
flexDirection: 'row', flexDirection: 'row',
borderColor: '#d2d2d2',
borderBottomColor: '#d2d2d2',
borderWidth: 1.0,
borderBottomWidth: 0.5,
backgroundColor: '#f5f5f5',
minHeight: 44,
height: 44,
marginHorizontal: 20, marginHorizontal: 20,
alignItems: 'center', alignItems: 'center',
marginVertical: 8, marginVertical: 8,
borderRadius: 4, borderRadius: 4,
}} }}
> >
<TextInput <Text numberOfLines={0} style={{ color: '#81868e', fontWeight: '500', fontSize: 14 }}>
onChangeText={text => {}} {this.state.hasOwnProperty('decoded') && this.state.decoded !== undefined ? this.state.decoded.description : ''}
placeholder={loc.wallets.details.description} </Text>
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}
/>
</View> </View>
{this.state.expiresIn !== undefined && ( {this.state.expiresIn !== undefined && (
<Text style={{ color: '#81868e', fontSize: 12, left: 20, top: 10 }}>Expires in: {this.state.expiresIn}</Text> <Text style={{ color: '#81868e', fontSize: 12, left: 20, top: 10 }}>Expires in: {this.state.expiresIn}</Text>

Loading…
Cancel
Save