//Update user data private async void Update() { try { if (!string.IsNullOrEmpty(Password)) { var isupdate = await FirebaseHelper.UpdateUser(Email, Password); if (isupdate) { await App.Current.MainPage.DisplayAlert("Update Success", "", "Ok"); } else { await App.Current.MainPage.DisplayAlert("Error", "Record not update", "Ok"); } } else { await App.Current.MainPage.DisplayAlert("Password Require", "Please Enter your password", "Ok"); } } catch (Exception e) { Debug.WriteLine($"Error:{e}"); } }