Merge branch 'vnext' of github.com:pazof/yavsc into vnext

vnext
Paul Schneider 8 years ago
commit 282bfd16ff
1 changed files with 2 additions and 8 deletions

@ -48,6 +48,7 @@ namespace BookAStar.Pages
if (string.IsNullOrEmpty(user.ChatHubConnectionId)) return; if (string.IsNullOrEmpty(user.ChatHubConnectionId)) return;
IsBusy = true; IsBusy = true;
try try
{ {
await App.ChatHubProxy.Invoke<string>("SendPV", user.ChatHubConnectionId, pvEntry.Text); await App.ChatHubProxy.Invoke<string>("SendPV", user.ChatHubConnectionId, pvEntry.Text);
pvEntry.Text = null; pvEntry.Text = null;
@ -61,13 +62,6 @@ namespace BookAStar.Pages
} }
private void ReconnectButton_Clicked(object sender, EventArgs e)
{
App.ChatHubConnection.Stop();
App.ChatHubConnection.Start();
}
private void ChatHubConnection_StateChanged(StateChange obj) private void ChatHubConnection_StateChanged(StateChange obj)
{ {
Xamarin.Forms.Device.BeginInvokeOnMainThread( Xamarin.Forms.Device.BeginInvokeOnMainThread(

Loading…