ErnestoOrtiz2 před 3 roky
rodič
revize
4f47895e77
2 změnil soubory, kde provedl 8 přidání a 6 odebrání
  1. 6
    2
      screens/main/Calendar.js
  2. 2
    4
      screens/main/StateTime.js

+ 6
- 2
screens/main/Calendar.js Zobrazit soubor

@@ -36,7 +36,7 @@ export default class Calendario extends Component {
36 36
             ,Username: this.state.username, I_Username: this.state.I_username});
37 37
         }
38 38
         else{
39
-          this.props.navigation.navigate('Map', {Appointment_Date: date._d, int_id : this.state.interpreter_id, 
39
+          this.props.navigation.navigate('Map', {Appointment: date._d, int_id : this.state.interpreter_id, 
40 40
             Flag: this.state.mapflag, I_Token: this.state.i_token, U_Token: this.state.u_token
41 41
             ,Username: this.state.username, I_Username: this.state.I_username});
42 42
         }
@@ -70,4 +70,8 @@ const styles = StyleSheet.create({
70 70
     backgroundColor: '#FFFFFF',
71 71
     marginTop: 100,
72 72
   },
73
-});
73
+});
74
+
75
+
76
+  
77
+

+ 2
- 4
screens/main/StateTime.js Zobrazit soubor

@@ -205,6 +205,7 @@ export default class Time extends Component{
205 205
     return(
206 206
       <TouchableWithoutFeedback style={styles.stdcontainer}>
207 207
         <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
208
+          <Text style={styles.time_text}> Select the Start and End Time for the Appointment </Text>
208 209
         <Button style={styles.cenregbutton} title="8:00am" onPress={() => this.time_set(1,)}/>
209 210
         <Button style={styles.cenregbutton} title="9:00am" onPress={() => this.time_set(2,)}/>
210 211
         <Button style={styles.cenregbutton} title="10:00am" onPress={() => this.time_set(3,)}/>
@@ -212,11 +213,8 @@ export default class Time extends Component{
212 213
         <Button style={styles.cenregbutton} title="12:00pm" onPress={() => this.time_set(5,)}/>
213 214
         <Button style={styles.cenregbutton} title="1:00pm" onPress={() => this.time_set(6,)}/>
214 215
         <Button style={styles.cenregbutton} title="2:00pm" onPress={() => this.time_set(7,)}/>
215
-        <Button style={styles.cenregbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216
+        <Button style={styles.regbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216 217
         </ImageBackground>
217 218
       </TouchableWithoutFeedback>
218 219
     );
219
-  }
220
-}
221
-
222 220