Skip to content

Commit

Permalink
Update about to inclue "Contact Us" link (#1816)
Browse files Browse the repository at this point in the history
* Update about to inclue "Contact Us" link

* Try espanol

* Use the same title we're using elsewhere

* Update locales/es.json

Co-authored-by: Esteban Miño <efmino@uc.cl>

Co-authored-by: Esteban Miño <efmino@uc.cl>
  • Loading branch information
rickycodes and estebanmino authored Sep 8, 2020
1 parent cd6253f commit 8319876
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions app/components/Views/Settings/AppInformation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
InteractionManager,
View,
ScrollView,
TouchableOpacity,
Linking
TouchableOpacity
} from 'react-native';
import { getApplicationName, getVersion, getBuildNumber } from 'react-native-device-info';
import { colors, fontStyles } from '../../../../styles/common';
Expand Down Expand Up @@ -128,9 +127,9 @@ export default class AppInformation extends PureComponent {
this.goTo(url, 'metamask.io');
};

onEmailUs = () => {
this.props.navigation.pop();
Linking.openURL('mailto:help@metamask.io?subject=Feedback');
onContactUs = () => {
const url = 'https://metamask.zendesk.com/hc/en-us/requests/new';
this.goTo(url, strings('drawer.metamask_support'));
};

render = () => (
Expand Down Expand Up @@ -160,8 +159,8 @@ export default class AppInformation extends PureComponent {
<TouchableOpacity onPress={this.onWebSite}>
<Text style={styles.link}>{strings('app_information.web_site')}</Text>
</TouchableOpacity>
<TouchableOpacity onPress={this.onEmailUs}>
<Text style={styles.link}>{strings('app_information.email_us')}</Text>
<TouchableOpacity onPress={this.onContactUs}>
<Text style={styles.link}>{strings('app_information.contact_us')}</Text>
</TouchableOpacity>
</View>
</ScrollView>
Expand Down
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"attributions": "Attributions",
"support_center": "Visit our Support Center",
"web_site": "Visit our Website",
"email_us": "Email Us at support@metamask.io!"
"contact_us": "Contact Us"
},
"reveal_credential": {
"seed_phrase_title": "Reveal seed phrase",
Expand Down
2 changes: 1 addition & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
"attributions": "Atribuciones",
"support_center": "Visita nuestro centro de atención",
"web_site": "Visita nuestro sitio web",
"email_us": "¡Envíanos un correo a support@metamask.io!"
"contact_us": "Contáctanos"
},
"reveal_credential": {
"seed_phrase_title": "Revelar frase semilla",
Expand Down

0 comments on commit 8319876

Please sign in to comment.