clean up and style improving

This commit is contained in:
Christian Arenas 2017-06-22 15:10:59 +02:00
parent 56ec1d9ed9
commit 55c2c666c0

View File

@ -52,7 +52,7 @@ namespace eShopOnContainers
if (Settings.AllowGpsLocation && !Settings.UseFakeLocation) if (Settings.AllowGpsLocation && !Settings.UseFakeLocation)
{ {
await GetRealLocation(); await GetGpsLocation();
} }
if (!Settings.UseMocks && !string.IsNullOrEmpty(Settings.UserId)) if (!Settings.UseMocks && !string.IsNullOrEmpty(Settings.UserId))
@ -68,7 +68,7 @@ namespace eShopOnContainers
// Handle when your app sleeps // Handle when your app sleeps
} }
private async Task GetRealLocation() private async Task GetGpsLocation()
{ {
var locator = CrossGeolocator.Current; var locator = CrossGeolocator.Current;