Skip to content

Commit

Permalink
#315 more robust pop-up warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuotvez committed Feb 27, 2024
1 parent ea02367 commit ac06382
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions GSCFieldApp/ViewModels/MapPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,19 +359,19 @@ public async void Geolocal_StatusChangedAsync(Geolocator sender, Windows.Devices
}


//await Task.Delay(3000); //Let enough time to pass so GPS actually gets a proper fix
//await NoLocationFlightMode();
connectionProfile = NetworkInformation.GetInternetConnectionProfile();
CheckAirplaneMode();
try
{
await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, async () =>
{
await CheckAirplaneMode();
}).AsTask();

//try
//{
// await SetGPS();
//}
//catch (Exception)
//{

//}
}
catch (Exception)
{

}


break;
Expand Down

0 comments on commit ac06382

Please sign in to comment.