private void listfollow_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (listfollow.SelectedItems.Count > 0)
     {
         StreamList channel = (StreamList)listfollow.Items[listfollow.SelectedIndex];
         LaunchStream(channel.Url);
     }
 }
        private async void UnfollowStream()
        {
            if (Properties.Settings.Default.username == "" || Properties.Settings.Default.token == "")
            {
                MessageBox.Show("Veuillez enregistrer un username et un token");
            }
            else
            {
                if (listfollow.SelectedItems.Count > 0)
                {
                    StreamList channel = (StreamList)listfollow.Items[listfollow.SelectedIndex];
                    TwitchLib.Models.API.v5.Users.Users userid = await TwitchAPI.Users.v5.GetUserByName(Properties.Settings.Default.username);

                    if (userid.Total != 0)
                    {
                        await TwitchAPI.Users.v5.UnfollowChannel(userid.Matches[0].Id.ToString(), channel.Id, Properties.Settings.Default.token);

                        GetFollowedStreams();
                    }
                }
            }
        }