diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 19:04:56 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 19:04:56 +0200 |
| commit | f1d3451e8b5ec4555c57284be182fef98dcd3752 (patch) | |
| tree | cbcea31bfd94e34aef4c081f82e78184dbc649fb /app | |
| parent | ac98e48c68eadfdd7250eccd38aa492e6f830744 (diff) | |
| parent | c6c02cbacf480e3a031734da56e3289542ef4f1a (diff) | |
| download | mullvadvpn-f1d3451e8b5ec4555c57284be182fef98dcd3752.tar.xz mullvadvpn-f1d3451e8b5ec4555c57284be182fef98dcd3752.zip | |
Merge branch 'contact-form-tweaks'
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/Support.js | 18 | ||||
| -rw-r--r-- | app/components/SupportStyles.js | 5 |
2 files changed, 14 insertions, 9 deletions
diff --git a/app/components/Support.js b/app/components/Support.js index d57216e316..d97cc0d7b1 100644 --- a/app/components/Support.js +++ b/app/components/Support.js @@ -267,8 +267,8 @@ export default class Support extends Component<SupportProps, SupportState> { <View style={styles.support__status_icon}> <Img source="icon-spinner" height={60} width={60} alt="" /> </View> - <View style={styles.support__status_security__secure}>Secure Connection</View> - <Text style={styles.support__send_status}>Sending...</Text> + <View style={styles.support__status_security__secure}>{'SECURE CONNECTION'}</View> + <Text style={styles.support__send_status}>{'Sending...'}</Text> </View> </View> </View> @@ -283,8 +283,8 @@ export default class Support extends Component<SupportProps, SupportState> { <View style={styles.support__status_icon}> <Img source="icon-success" height={60} width={60} alt="" /> </View> - <Text style={styles.support__status_security__secure}>Secure Connection</Text> - <Text style={styles.support__send_status}>Sent</Text> + <Text style={styles.support__status_security__secure}>{'SECURE CONNECTION'}</Text> + <Text style={styles.support__send_status}>{'Sent'}</Text> <Text style={styles.support__sent_message}>Thanks! We will look into this.</Text> {this.state.email.trim().length > 0 ? ( @@ -307,13 +307,15 @@ export default class Support extends Component<SupportProps, SupportState> { <View style={styles.support__status_icon}> <Img source="icon-fail" height={60} width={60} alt="" /> </View> - <Text style={styles.support__status_security__secure}>Secure Connection</Text> - <Text style={styles.support__send_status}>Failed to send</Text> + <Text style={styles.support__status_security__secure}>{'SECURE CONNECTION'}</Text> + <Text style={styles.support__send_status}>{'Failed to send'}</Text> </View> </View> <View style={styles.support__footer}> - <AppButton.BlueButton onPress={() => this.setState({ sendState: 'INITIAL' })}> - Edit message + <AppButton.BlueButton + style={styles.edit_message_button} + onPress={() => this.setState({ sendState: 'INITIAL' })}> + {'Edit message'} </AppButton.BlueButton> <AppButton.GreenButton onPress={this.onSend} testName="support__send_logs"> Try again diff --git a/app/components/SupportStyles.js b/app/components/SupportStyles.js index bc23567d9d..6e50fe8298 100644 --- a/app/components/SupportStyles.js +++ b/app/components/SupportStyles.js @@ -53,12 +53,15 @@ export default Object.assign( flex: 0, }, support__status_icon: { - textAlign: 'center', + alignItems: 'center', marginBottom: 32, }, view_logs_button: { marginBottom: 16, }, + edit_message_button: { + marginBottom: 16, + }, }), createTextStyles({ support__form_email: { |
