Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed Aug 15, 2024
1 parent a2f771f commit 9d8e998
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion iBurn/NearbyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private extension NearbyViewController {
}

extension NearbyViewController: MapButtonHelper {
func mapButtonPressed(_ sender: Any) {
func mapButtonPressed(_ sender: Any?) {
var annotations: [MLNAnnotation] = []
BRCDatabaseManager.shared.uiConnection.read { (t) in
sections.forEach { (section) in
Expand Down
2 changes: 1 addition & 1 deletion iBurn/ObjectListViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ extension ObjectListViewController: SearchCooordinator {
}

extension ObjectListViewController: MapButtonHelper {
func mapButtonPressed(_ sender: Any) {
func mapButtonPressed(_ sender: Any?) {
let dataSource = YapViewAnnotationDataSource(viewHandler: listCoordinator.tableViewAdapter.viewHandler)
let mapVC = MapListViewController(dataSource: dataSource)
navigationController?.pushViewController(mapVC, animated: true)
Expand Down
2 changes: 1 addition & 1 deletion iBurn/SearchCooordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extension SearchCooordinator where Self: UIViewController {
}
}

func searchButtonPressed(_ sender: Any) {
func searchButtonPressed(_ sender: Any?) {
present(searchController, animated: true, completion: nil)
}

Expand Down

0 comments on commit 9d8e998

Please sign in to comment.