FIX: tor supported text

This commit is contained in:
Overtorment 2021-05-18 21:02:03 +01:00
parent 095c610825
commit 59b881b9fc

View file

@ -268,9 +268,8 @@ export default class ElectrumSettings extends Component {
<View style={styles.inputWrap}>
<TextInput
placeholder={
loc.formatString(loc.settings.electrum_host, { example: '111.222.333.111' }) + !isCatalyst
? ' (' + loc.settings.tor_supported + ')'
: ''
loc.formatString(loc.settings.electrum_host, { example: '111.222.333.111' }) +
(!isCatalyst ? ' (' + loc.settings.tor_supported + ')' : '')
}
value={this.state.host}
onChangeText={text => this.setState({ host: text.trim() })}