Account Screen View Model
Viewmodel for the Account Screen
Functions
Link copied to clipboard
Link copied to clipboard
Deletes the book from the mCategory, books, and users collection Also deletes the book from the saved_books array of all users that have saved the book
Link copied to clipboard
Allows the user to edit their account information: first name and last name
Link copied to clipboard
Gets the user info from the database
Link copied to clipboard
Updates the book in the database with the provided details.