private async void ConnectToFbBtn_Click(object sender, RoutedEventArgs e) { if (!await LogicHelper.IsInternet()) { return; } ProgRing.IsActive = true; await ViewModel.ConnectOrDisconnectFromFb(); ProgRing.IsActive = false; }
private async void ConnectToFbBtn_Click(object sender, RoutedEventArgs e) { if (!await LogicHelper.IsInternet()) { return; } ProgRing.IsActive = true; await ViewModel.ConnectOrDisconnectFromFb(); ProgRing.IsActive = false; }