Skip to content

Commit

Permalink
Update Balance/Login/AuthViewModel.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Ricaldoni <sebastian.ricaldoni@gmail.com>
  • Loading branch information
gperissetcelteeka and sebastianricaldoni authored Aug 22, 2023
1 parent aa424af commit fdd20b6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Balance/Login/AuthViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,6 @@ final class AuthViewModel: ObservableObject {
}
}

// func signInLocal
// (
// patientID: String,
// name: String,
// email: String,
// onSuccess: @escaping() -> Void,
// onError: @escaping(_ errorMessage: String) -> Void
// ) async {
// loginUser(uid: patientID, name: name, email: email) {
// onSuccess()
// } onError: { errorMessage in
// self.authError = "Login Error"
// print("Login error")
// }
// }

func signUp(userData: ProfileUser) {
Auth.auth().createUser(withEmail: userData.email, password: userData.password) { result, error in
Expand Down

0 comments on commit fdd20b6

Please sign in to comment.