Profile
Screen
View
Model
The ProfileActivityViewModel class is the support class used by the ProfileScreen to change the user account settings or preferences
Author
N7ghtm4r3 - Tecknobit
Parameters
: the host to launch the snackbar messages
See also
Properties
newEmailError -> whether the newEmail field is not valid
newPassword -> the value of the new password to set
newPasswordError -> whether the newPassword field is not valid
Functions
Function to execute the email change
Function to execute the language change
Function to execute the password change
Function to execute the profile pic change
Function to execute the theme change
Method to clear the current localUser session
Function to execute the account deletion