Skip to content

Commit 59fc604

Browse files
authored
fix: revert main actor on camera (#103)
1 parent f6979ec commit 59fc604

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/MapLibreSwiftUI/Models/MapCamera/MapViewCamera.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import MapLibre
55
/// The SwiftUI MapViewCamera.
66
///
77
/// This manages the camera state within the MapView.
8-
@MainActor
9-
public struct MapViewCamera: Hashable, Equatable, Sendable, @preconcurrency CustomStringConvertible {
8+
public struct MapViewCamera: Hashable, Equatable, Sendable, CustomStringConvertible {
109
public enum Defaults {
1110
public static let coordinate = CLLocationCoordinate2D(latitude: 0, longitude: 0)
1211
public static let zoom: Double = 10

0 commit comments

Comments
 (0)