Skip to content

Commit

Permalink
Merge pull request #772 from OneBusAway/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
aaronbrethorst authored Nov 30, 2024
2 parents 4868fb8 + 8d7290c commit ee31db2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/stripe/stripe-ios-spm",
"state" : {
"revision" : "90129926d024ea0259cb854c6b23f4061ae76323",
"version" : "23.30.0"
"revision" : "999143c82704e6395b62a9b8259ecfbee131eff9",
"version" : "24.1.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions OBAKit/Search/SearchRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class SearchManager: NSObject {
private func searchAddress(request: SearchRequest) async {
guard
let apiService = application.apiService,
let mapRect = application.mapRegionManager.lastVisibleMapRect
let mapRect = await application.mapRegionManager.lastVisibleMapRect
else {
return
}
Expand All @@ -103,7 +103,7 @@ public class SearchManager: NSObject {
private func searchRoute(request: SearchRequest) async {
guard
let apiService = application.apiService,
let mapRect = application.mapRegionManager.lastVisibleMapRect
let mapRect = await application.mapRegionManager.lastVisibleMapRect
else {
return
}
Expand Down
2 changes: 1 addition & 1 deletion OBAKit/ServiceAlerts/ServiceAlertViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import UIKit
import OBAKitCore
import WebKit
@preconcurrency import WebKit
import SafariServices

// swiftlint:disable function_body_length
Expand Down
2 changes: 1 addition & 1 deletion OBAKit/Stops/StopViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ public class StopViewController: UIViewController,
return
}

let url = appLinksRouter.encode(arrivalDeparture: arrivalDeparture, region: region)
let url = appLinksRouter.encode(arrivalDeparture: arrivalDeparture, region: region) as Any

let activityController = UIActivityViewController(activityItems: [self, url], applicationActivities: nil)

Expand Down

0 comments on commit ee31db2

Please sign in to comment.