summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-12 11:47:08 +0100
committeranderklander <anderklander@gmail.com>2018-02-15 16:02:02 +0100
commit81c6a8751446f0d3e88fa3da707c3968d334ae3e (patch)
treed37ec8b1dff29c956c0cc509d58099f2d54aa567
parenta433acd08bc1931578570b9fdac9a4f41ba21fa2 (diff)
downloadmullvadvpn-81c6a8751446f0d3e88fa3da707c3968d334ae3e.tar.xz
mullvadvpn-81c6a8751446f0d3e88fa3da707c3968d334ae3e.zip
Settings lint fix
-rw-r--r--app/components/Settings.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
index 6db8da8fbd..ae01c054ef 100644
--- a/app/components/Settings.js
+++ b/app/components/Settings.js
@@ -114,13 +114,14 @@ export default class Settings extends Component {
}
_renderMiddleButtons() {
- return[ <CellButton onPress={ this.props.onExternalLink.bind(this, 'download') }
+ return <View> <CellButton onPress={ this.props.onExternalLink.bind(this, 'download') }
testName='settings__version'
text='App version'
subtext={this._formattedVersion()}
icon='icon-extLink'
- tintColor='currentColor'/>,
- <View style={styles.settings__cell_spacer}/>];
+ tintColor='currentColor'/>
+ <View style={styles.settings__cell_spacer}/>
+ </View>;
}
_formattedVersion() {