Skip to content

Commit 53bf2c1

Browse files
committed
chore: Set field value
1 parent cee279f commit 53bf2c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Uno.UWP/Devices/Geolocation/Geolocator.iOSmacOS.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ public double MovementThreshold
5151
{
5252
if (NativeDispatcher.Main.HasThreadAccess)
5353
{
54-
_locationManager.DistanceFilter = value;
54+
_locationManager.DistanceFilter = _movementThreshold;
5555
}
5656
else
5757
{
5858
NativeDispatcher.Main.Enqueue(() =>
5959
{
6060
if (_locationManager != null)
6161
{
62-
_locationManager.DistanceFilter = value;
62+
_locationManager.DistanceFilter = _movementThreshold;
6363
}
6464
}, NativeDispatcherPriority.Normal);
6565
}

0 commit comments

Comments
 (0)