summaryrefslogtreecommitdiffhomepage
path: root/app/components/Connect.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:39 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:39 +0200
commitc92ea97d9180fe05ab1adb35a4af0bcb19b12ec9 (patch)
treeddd20a989d7c5b0fc9cae12724970d69976f889c /app/components/Connect.js
parentc9f2ec62790a62e674b1252a6a18dec451d17bf3 (diff)
parent898dd74e5ac86dac2638dc26975b22a9fb0392d4 (diff)
downloadmullvadvpn-c92ea97d9180fe05ab1adb35a4af0bcb19b12ec9.tar.xz
mullvadvpn-c92ea97d9180fe05ab1adb35a4af0bcb19b12ec9.zip
Merge branch 'rn-compatibility'
Diffstat (limited to 'app/components/Connect.js')
-rw-r--r--app/components/Connect.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index 9f8b2b993f..56defe49b7 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -82,7 +82,7 @@ export default class Connect extends Component<ConnectProps, ConnectState> {
<View style={styles.connect}>
<View style={styles.status}>
<View style={styles.status_icon}>
- <Img source="icon-fail" height="60" width="60" alt="" />
+ <Img source="icon-fail" height={60} width={60} alt="" />
</View>
<View style={styles.error_title}>
{ error.title }
@@ -94,7 +94,7 @@ export default class Connect extends Component<ConnectProps, ConnectState> {
<View>
<GreenButton onPress={ this.onExternalLink.bind(this, 'purchase') }>
<Label>Buy more time</Label>
- <Img source='icon-extLink' height='16' width='16' />
+ <Img source='icon-extLink' height={16} width={16} />
</GreenButton>
</View>
: null
@@ -164,7 +164,7 @@ export default class Connect extends Component<ConnectProps, ConnectState> {
{ /* show spinner when connecting */ }
{ isConnecting ?
<View style={ styles.status_icon }>
- <Img source="icon-spinner" height="60" width="60" alt="" ref={ this._updateMapOffset } />
+ <Img source='icon-spinner' height={60} width={60} alt="" ref={ this._updateMapOffset } />
</View>
: null
}
@@ -225,7 +225,7 @@ export default class Connect extends Component<ConnectProps, ConnectState> {
<View style={styles.footer}>
<TransparentButton onPress={ this.props.onSelectLocation }>
<Label>{ this.props.selectedRelayName }</Label>
- <Img height='12' width='7' source='icon-chevron' />
+ <Img height={12} width={7} source='icon-chevron' />
</TransparentButton>
<GreenButton onPress={ this.props.onConnect } testName='secureConnection'>Secure my connection</GreenButton>
</View>