Closed Harrish92 closed 2 weeks ago
I'm getting a bug when testing manually: when I modify the profile and click save the changes are not always reflected in the
ProfileScreen
.
@agonzalez-r
An RLS policy was added on supabase table to allow any modification of the profile by the user. Any changes should be reflected on the ProfileScreen
now.
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
83.7% Coverage on New Code
0.0% Duplication on New Code
Title
Integrate ViewModel into EditProfileScreen
Description
This PR introduces the integration of
UserViewModel
intoEditProfile
to handle loading and saving user data. It closes issue #163 .Changes
UserViewModel
intoEditProfileScreen
to use for loading user data.UserViewModel
intoEditProfileScreen
to use for saving user data.CreateProfile
.Files
Modified
app/src/main/java/com/android/periodpals/ui/profile/EditProfile.kt
Testing
EditProfileTest
to theUserViewModel