update lat, lng 0 y horarios

This commit is contained in:
Felipe
2024-08-17 11:41:25 -05:00
parent a7f62dec6d
commit f6f2e403d8
5 changed files with 106 additions and 23 deletions
+3 -3
View File
@@ -262,7 +262,8 @@ class _UserMapScreenState extends State<UserMapScreen> {
}));
},
onCameraMove: (position) {
if (serviceLocationPreference != ServiceLocationPreferences.office) {
if (serviceLocationPreference !=
ServiceLocationPreferences.office) {
coordenadas = position.target;
}
},
@@ -609,8 +610,7 @@ class _UserMapScreenState extends State<UserMapScreen> {
} else {
context.read<ServiceBloc>().add(
CreateService(
professionalId: profesionalSeleccionado!
.professionalInfo.id,
professionalId: profesionalSeleccionado!.professionalInfo.id,
userId: state.user!.id,
address: _addressController.text,
aditionalAddress: '',