Skip to content

Commit 4018f64

Browse files
committed
Fix convenience init
1 parent 3532761 commit 4018f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncLocationKit/AsyncLocationManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public final class AsyncLocationManager {
4242
private var locationDelegate: CLLocationManagerDelegate
4343

4444
public convenience init(desiredAccuracy: LocationAccuracy = .bestAccuracy, allowsBackgroundLocationUpdates: Bool = false) {
45-
self.init(locationManager: CLLocationManager(), desiredAccuracy: desiredAccuracy)
45+
self.init(locationManager: CLLocationManager(), desiredAccuracy: desiredAccuracy, allowsBackgroundLocationUpdates: allowsBackgroundLocationUpdates)
4646
}
4747

4848
public init(locationManager: CLLocationManager, desiredAccuracy: LocationAccuracy = .bestAccuracy, allowsBackgroundLocationUpdates: Bool = false) {

0 commit comments

Comments
 (0)