|
@@ -16,6 +16,10 @@ export default class Contact extends Component {
|
|
|
Linking.openURL("tel:" + app.modules.support.phone)
|
|
Linking.openURL("tel:" + app.modules.support.phone)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ toEmail() {
|
|
|
|
|
+ Linking.openURL("mailto:" + app.modules.support.fdEmail)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
callWhatapp() {
|
|
callWhatapp() {
|
|
|
Linking.openURL(app.modules.support.whatsapp)
|
|
Linking.openURL(app.modules.support.whatsapp)
|
|
|
}
|
|
}
|
|
@@ -37,7 +41,7 @@ export default class Contact extends Component {
|
|
|
<TextView style={styles.contentText2}>(Except public holidays)</TextView>
|
|
<TextView style={styles.contentText2}>(Except public holidays)</TextView>
|
|
|
{ utils.isNotEmpty(app.modules.support.fdEmail) && <>
|
|
{ utils.isNotEmpty(app.modules.support.fdEmail) && <>
|
|
|
<TextView style={styles.labelText}>For Feedback</TextView>
|
|
<TextView style={styles.labelText}>For Feedback</TextView>
|
|
|
- <TextView style={styles.contentText}>Please email us at <Text style={ui.link}>{app.modules.support.fdEmail}</Text></TextView>
|
|
|
|
|
|
|
+ <TextView style={styles.contentText}>Please email us at <Text style={ui.link} onPress={() => this.toEmail()}>{app.modules.support.fdEmail}</Text></TextView>
|
|
|
</>}
|
|
</>}
|
|
|
<View style={ui.flex1}></View>
|
|
<View style={ui.flex1}></View>
|
|
|
<Button
|
|
<Button
|