Ejemplo n.º 1
0
        private async Task OnLoginAsync()
        {
            string color = ProfileColors.Single(pc => pc.IsSelected).Color;

            await LoginService.LoginAsync(UserName, color);

            await App.Repository.AddAsync(new CircleMessage
            {
                Author = UserName,
                Color  = color,
                IsRoot = true,
                Text   = $"{UserName} entered the circle!",
            });
        }