Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-kaiumov committed Mar 9, 2023
2 parents 58f46ff + 15dfcc9 commit b77e186
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Sources/Configuration/UserTrackingMode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public enum UserTrackingMode {
case none
case follow

@available(tvOS, unavailable)
@available(macOS, unavailable)
case followWithHeading

Expand All @@ -26,10 +27,11 @@ public enum UserTrackingMode {
return .none
case .follow:
return .follow
#if !os(macOS)
#if !os(macOS) && !os(tvOS)
case .followWithHeading:
return .followWithHeading
#endif

}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Views/MapUserTrackingButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Paul Kraft on 03.07.22.
//

#if canImport(UIKit) && !os(watchOS)
#if canImport(UIKit) && !os(watchOS) && !os(tvOS)

import SwiftUI
import MapKit
Expand Down

0 comments on commit b77e186

Please sign in to comment.