Skip to content

Commit

Permalink
Guess we can't use assumeIsolated yet...
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Apr 7, 2024
1 parent 9248395 commit 9927705
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/MapLibreSwiftUI/MapViewCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ extension MapViewCoordinator: MLNMapViewDelegate {
return
}

MainActor.assumeIsolated {
// FIXME: CI complains about MainActor.assumeIsolated being unavailable before iOS 17, despite building on iOS 17.2... This is an epic hack to fix it for now. I can only assume this is an issue with Xcode pre-15.3
Task { @MainActor in
updateParentCamera(mapView: mapView, reason: reason)
}
}
Expand Down

0 comments on commit 9927705

Please sign in to comment.