Browse Source

Cambios para que se envien los usernames con la cita

gilberto.cancel 2 years ago
parent
commit
e7077e4c59
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      screens/main/Map.js

+ 5
- 1
screens/main/Map.js View File

17
     mapflag = route.params.Flag, 
17
     mapflag = route.params.Flag, 
18
     i_token = route.params.I_Token,
18
     i_token = route.params.I_Token,
19
     u_token =  route.params.U_Token,
19
     u_token =  route.params.U_Token,
20
+    username = route.params.Username,
21
+    I_username = route.params.I_Username,
20
     View_Only = route.params.View_Only
22
     View_Only = route.params.View_Only
21
     } = route.params
23
     } = route.params
22
     
24
     
82
           <Marker coordinate={pin1} />
84
           <Marker coordinate={pin1} />
83
         </MapView>
85
         </MapView>
84
           <View style = {{position: 'absolute', bottom: '5%'}}>
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
           </View>
90
           </View>
87
       </View>
91
       </View>
88
       
92