Refactor updateAvatarDatabase from database
Closed this issue · 1 comments
guiathayde commented
Returning if it went right or wrong.
In the Profile and UploadProfilePhoto screens make a function to update the profile photo because it is used twice the same.
guiathayde commented
The code was correct, but is better refactor the part of update profile photo, to save in firebase.database and firebase.storage at same time. For that other issue was created Refector th way update profile photo