prosapp changes

This commit is contained in:
Juan Felipe Duarte
2023-06-23 21:55:10 -05:00
parent 90ec1293ea
commit e994230631
14 changed files with 292 additions and 173 deletions
+9
View File
@@ -276,6 +276,15 @@ class _ProfileScreenState extends State<ProfileScreen> {
print('e');
}
try {
await FirebaseFirestore.instance
.collection('users')
.doc(uid)
.update({'email': newEmail});
} catch (e) {
print('e');
}
try {
if (imagen_to_upload == null) {
return;