Explorar el Código

Cambios para que se envien los usernames con la cita

gilberto.cancel hace 2 años
padre
commit
e7077e4c59
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      screens/main/Map.js

+ 5
- 1
screens/main/Map.js Ver fichero

@@ -17,6 +17,8 @@ export default function Map({route, navigation} ) {
17 17
     mapflag = route.params.Flag, 
18 18
     i_token = route.params.I_Token,
19 19
     u_token =  route.params.U_Token,
20
+    username = route.params.Username,
21
+    I_username = route.params.I_Username,
20 22
     View_Only = route.params.View_Only
21 23
     } = route.params
22 24
     
@@ -82,7 +84,9 @@ export default function Map({route, navigation} ) {
82 84
           <Marker coordinate={pin1} />
83 85
         </MapView>
84 86
           <View style = {{position: 'absolute', bottom: '5%'}}>
85
-              <Button title= 'Confirm Location' onPress = {() => navigation.navigate('StateTime' , {Pin : pin1 , Appointment : Appointment, int_id : int_id, mapflag : mapflag, I_Token: i_token, U_Token: u_token})}/>
87
+              <Button title= 'Confirm Location' onPress = {() => navigation.navigate('StateTime' , {Pin : pin1 , Appointment : Appointment, int_id : int_id, 
88
+                mapflag : mapflag, I_Token: i_token, U_Token: u_token
89
+                ,Username: username, I_Username: I_username})}/>
86 90
           </View>
87 91
       </View>
88 92