Skip to content

Commit

Permalink
Restore code after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rcasula committed Sep 13, 2023
1 parent 00d426d commit d0e9a89
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Sources/ComposableCoreLocation/Interface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -365,26 +365,40 @@ public struct LocationManager: Sendable {
pausesLocationUpdatesAutomatically: pausesLocationUpdatesAutomatically,
showsBackgroundLocationIndicator: showsBackgroundLocationIndicator
)
#endif
)
}
}

extension LocationManager {
public struct Properties: Equatable {
@available(macOS, unavailable)
@available(tvOS, unavailable)
var activityType: CLActivityType? = nil

@available(macOS, unavailable)
@available(tvOS, unavailable)
var allowsBackgroundLocationUpdates: Bool? = nil

var desiredAccuracy: CLLocationAccuracy? = nil

var distanceFilter: CLLocationDistance? = nil

@available(macOS, unavailable)
@available(tvOS, unavailable)
var headingFilter: CLLocationDegrees? = nil

@available(macOS, unavailable)
@available(tvOS, unavailable)
var headingOrientation: CLDeviceOrientation? = nil

@available(macOS, unavailable)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
var pausesLocationUpdatesAutomatically: Bool? = nil

@available(macOS, unavailable)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
var showsBackgroundLocationIndicator: Bool? = nil

public static func == (lhs: Self, rhs: Self) -> Bool {
Expand Down

0 comments on commit d0e9a89

Please sign in to comment.