diff --git a/src/helper/Auth.js b/src/helper/Auth.js index 667c128..3f32e9b 100644 --- a/src/helper/Auth.js +++ b/src/helper/Auth.js @@ -2,7 +2,7 @@ import Axios from 'axios'; import { RENTAL_API_URL } from '@env'; import { AsyncStorage } from '@react-native-async-storage/async-storage'; -const apiurl = 'https://bcba-54-165-38-8.ngrok.io'; +const apiurl = RENTAL_API_URL; const validate = (data, errors) => { const { email, password } = data; diff --git a/src/helper/GetService.js b/src/helper/GetService.js index 57dbe50..a0310ab 100644 --- a/src/helper/GetService.js +++ b/src/helper/GetService.js @@ -1,6 +1,7 @@ import Axios from 'axios'; +import { RENTAL_API_URL } from '@env'; -const url = 'https://bcba-54-165-38-8.ngrok.io'; +const url = RENTAL_API_URL; const getData = (IdentificationString, setData, setDescTooLong) => { Axios.get(`${url}/api/Service/GetServiceByIdentificationString`, { diff --git a/src/views/ServicePage/ServicePageStyles.js b/src/views/ServicePage/ServicePageStyles.js index ff1b947..bb562fb 100644 --- a/src/views/ServicePage/ServicePageStyles.js +++ b/src/views/ServicePage/ServicePageStyles.js @@ -127,7 +127,7 @@ const styles = StyleSheet.create({ justifyContent: 'center', alignItems: 'center', }, - text: { color: colors.white }, + text: { color: colors.white, fontSize: 20 }, }, });