display content address card in simple mode

This commit is contained in:
Akinwale Ariwodola 2019-08-15 05:11:31 +01:00
parent 0041059465
commit 73ad23ef58

View file

@ -750,38 +750,34 @@ class PublishPage extends React.PureComponent {
)} )}
</View> </View>
{this.state.advancedMode && ( <View style={publishStyle.card}>
<View style={publishStyle.card}> <Text style={publishStyle.cardTitle}>Content Address</Text>
<Text style={publishStyle.cardTitle}>Content Address</Text> <Text style={publishStyle.helpText}>
<Text style={publishStyle.helpText}> The address where people can find your content (ex. lbry://myvideo)
The address where people can find your content (ex. lbry://myvideo) </Text>
</Text>
<TextInput
placeholder={'lbry://'}
style={publishStyle.inputText}
underlineColorAndroid={Colors.NextLbryGreen}
numberOfLines={1}
value={this.state.name}
onChangeText={this.handleNameChange}
/>
<View style={publishStyle.inputRow}>
<TextInput <TextInput
placeholder={'lbry://'} placeholder={'0.00'}
style={publishStyle.inputText} style={publishStyle.priceInput}
underlineColorAndroid={Colors.NextLbryGreen} underlineColorAndroid={Colors.NextLbryGreen}
numberOfLines={1} numberOfLines={1}
value={this.state.name} keyboardType={'numeric'}
onChangeText={this.handleNameChange} value={String(this.state.bid)}
onChangeText={this.handleBidChange}
/> />
<View style={publishStyle.inputRow}> <Text style={publishStyle.currency}>LBC</Text>
<TextInput
placeholder={'0.00'}
style={publishStyle.priceInput}
underlineColorAndroid={Colors.NextLbryGreen}
numberOfLines={1}
keyboardType={'numeric'}
value={String(this.state.bid)}
onChangeText={this.handleBidChange}
/>
<Text style={publishStyle.currency}>LBC</Text>
</View>
<Text style={publishStyle.helpText}>
This LBC remains yours and the deposit can be undone at any time.
</Text>
</View> </View>
)} <Text style={publishStyle.helpText}>This LBC remains yours and the deposit can be undone at any time.</Text>
</View>
{this.state.advancedMode && ( {this.state.advancedMode && (
<View style={publishStyle.card}> <View style={publishStyle.card}>