Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 2e87eac

Browse files
committed
Windows LocationService fixed.
1 parent 7a7d8a8 commit 2e87eac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels/SettingsViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ private void UpdateInfoAllowGpsLocation()
309309

310310
}
311311
}
312-
313-
312+
314313
private void UpdateUseAzureServices()
315314
{
316315
// Save use mocks services to local storage

src/Mobile/eShopOnContainers/eShopOnContainers.Windows/Services/LocationServiceImplementation.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
using eShopOnContainers.Core.Models.Location;
22
using eShopOnContainers.Core.Services.Location;
3+
using eShopOnContainers.Windows.Services;
34
using System;
45
using System.Threading;
56
using System.Threading.Tasks;
67
using Windows.Devices.Geolocation;
78
using Windows.Foundation;
89

9-
[assembly: Xamarin.Forms.Dependency(typeof(ILocationServiceImplementation))]
10+
[assembly: Xamarin.Forms.Dependency(typeof(LocationServiceImplementation))]
1011
namespace eShopOnContainers.Windows.Services
1112
{
1213
public class LocationServiceImplementation : ILocationServiceImplementation

0 commit comments

Comments
 (0)