Răsfoiți Sursa

Add in a new email contact in App "Contact support"
https://dev.wormwood.com.sg/zentao/task-view-603.html

vbea 1 an în urmă
părinte
comite
23906b0123
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      Strides-APP/app/pages/about/Contact.js

+ 5 - 0
Strides-APP/app/pages/about/Contact.js

@@ -3,6 +3,7 @@ import { View, Text, StyleSheet, Image, Linking } from 'react-native';
 import Button from '../../components/Button';
 import app from '../../../app.json';
 import TextView from '../../components/TextView';
+import utils from '../../utils/utils';
 
 export default class Contact extends Component {
   constructor(props) {
@@ -34,6 +35,10 @@ export default class Contact extends Component {
         <TextView style={styles.labelText}>{$t("support.labelWhatsappChat")}</TextView>
         <TextView style={styles.contentText}>{$t("support.timeWeekDay") + " - 9:00AM to 5:00PM" }</TextView>
         <TextView style={styles.contentText2}>(Except public holidays)</TextView>
+        { utils.isNotEmpty(app.modules.support.fdEmail) && <>
+          <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>
+        </>}
         <View style={ui.flex1}></View>
         <Button
           text={$t("support.btnCallSupport")}