Exemplo n.º 1
0
        private async void Savebtn_Clicked(object sender, EventArgs e)
        {
            string auth = await _firebaseAuth.GetCurrentUser();

            if (auth != null)
            {
                string name = username.Text.Trim();

                _firebaseDatabase.UpdateUserName(auth, name);
            }

            username.IsEnabled  = false;
            userimage.IsEnabled = false;
            editbtn.IsVisible   = true;
            savebtn.IsVisible   = false;
        }