vbea 2 anos atrás
pai
commit
3adcd04ae5
1 arquivos alterados com 4 adições e 6 exclusões
  1. 4 6
      Strides-APP/app/pages/sign/RegisterV4.js

+ 4 - 6
Strides-APP/app/pages/sign/RegisterV4.js

@@ -3,18 +3,16 @@
  * @邠心vbe on 2023/02/06
  */
 import React from 'react';
-import { View, Text, ScrollView, StyleSheet, TextInput, Pressable, Image, Linking } from 'react-native';
+import { View, ScrollView, StyleSheet, TextInput, Pressable, Image, Linking } from 'react-native';
 import apiUser from '../../api/apiUser';
 import Button from '../../components/Button';
 import { PageList } from '../Router';
 import Dialog from '../../components/Dialog';
-import Modal from 'react-native-modal';
-import { RegisterDialog } from '../charge/InfoDialog';
+import app from '../../../app.json';
 import Dropdown from '../../components/Dropdown';
 import ImagePicker from 'react-native-image-crop-picker';
 import apiUpload from '../../api/apiUpload';
 import { host } from '../../api/http';
-import { ModalProps } from '../../components/BottomModal';
 import { CountryDropCode, CountryDropNum, GetCountryList } from '../../components/CountryIcon';
 import StrengthView from './StrengthView';
 import CheckBox from '../../components/CheckBox';
@@ -320,11 +318,11 @@ export default class RegisterV4 extends React.Component {
   }
 
   toPrivayPolicy() {
-    Linking.openURL("https://stridesmobility.sg/chargeco-privacy-policy")
+    Linking.openURL(app.storeUrl.privacyPolicyUrl)
   }
 
   toUserTerms() {
-    Linking.openURL("https://chargeco.global/terms-of-use")
+    Linking.openURL(app.storeUrl.termsUseUrl)
   }
 
   render() {