Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ final class AnimatedCurrentLocationViewController: UIViewController {
}
}

extension AnimatedCurrentLocationViewController: CLLocationManagerDelegate {
extension AnimatedCurrentLocationViewController: @MainActor CLLocationManagerDelegate {
func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
if locationManager.authorizationStatus == .denied {
print("Please authorize location services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CustomIndoorViewController: UIViewController {

}

extension CustomIndoorViewController: GMSIndoorDisplayDelegate {
extension CustomIndoorViewController: @MainActor GMSIndoorDisplayDelegate {

func didChangeActiveBuilding(_ building: GMSIndoorBuilding?) {
guard let building = building else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ private struct FeatureLayerConfig {
let highlightPlaceID: String
}

@MainActor
private class SliderControls {
let view: UIStackView
let fillColor: UISlider
let strokeColor: UISlider
let strokeWidth: UISlider
let label: UILabel

@MainActor
private static func addSliderAndLabel(to parent: UIStackView, text: String, initialValue: Float)
-> UISlider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ private struct PlaceTextSearchResponse: Codable {
let places: [Place]
}

@MainActor
private class PlaceLookupController: NSObject {
let serial: Int
let controller: DataDrivenStylingSearchViewController
Expand Down
Loading