From 8ab5edfc293ff18c7b4b68df30d815efbcf52cdf Mon Sep 17 00:00:00 2001 From: ncoelho Date: Sun, 29 Mar 2020 13:16:49 +0200 Subject: [PATCH] fix linting --- screen/settings/electrumSettings.js | 209 ++++++++++++++-------------- 1 file changed, 105 insertions(+), 104 deletions(-) diff --git a/screen/settings/electrumSettings.js b/screen/settings/electrumSettings.js index 5ebe9cd2..cb322c9a 100644 --- a/screen/settings/electrumSettings.js +++ b/screen/settings/electrumSettings.js @@ -12,7 +12,6 @@ import { BlueCard, BlueNavigationStyle, BlueText, - BlueButtonLink, } from '../../BlueComponents'; import { Badge } from 'react-native-elements'; import PropTypes from 'prop-types'; @@ -86,111 +85,113 @@ export default class ElectrumSettings extends Component { render() { return ( - - - Status - - - - {(this.state.config.status === 1 && 'Connected') || 'Not Connected'} - - + + + Status + + + + {(this.state.config.status === 1 && 'Connected') || 'Not Connected'} + + + + + + {this.state.config.host}:{this.state.config.port} + + + + + {loc.settings.electrum_settings_explain} + + + + this.setState({ host: text })} + numberOfLines={1} + style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} + editable={!this.state.isLoading} + underlineColorAndroid="transparent" + /> + + + + this.setState({ port: text })} + numberOfLines={1} + style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} + editable={!this.state.isLoading} + underlineColorAndroid="transparent" + /> + + + + this.setState({ sslPort: text })} + numberOfLines={1} + style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} + editable={!this.state.isLoading} + underlineColorAndroid="transparent" + /> - - {this.state.config.host}:{this.state.config.port} - - - - {loc.settings.electrum_settings_explain} - - - - this.setState({ host: text })} - numberOfLines={1} - style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} - editable={!this.state.isLoading} - underlineColorAndroid="transparent" - /> - - - - this.setState({ port: text })} - numberOfLines={1} - style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} - editable={!this.state.isLoading} - underlineColorAndroid="transparent" - /> - - - - this.setState({ sslPort: text })} - numberOfLines={1} - style={{ flex: 1, marginHorizontal: 8, minHeight: 36, height: 36 }} - editable={!this.state.isLoading} - underlineColorAndroid="transparent" - /> - - - {this.state.isLoading ? : } - + + {this.state.isLoading ? : } + );