We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ae632e commit b211facCopy full SHA for b211fac
1 file changed
Pod/Classes/MapViewController.swift
@@ -293,7 +293,7 @@ open class MapViewController: UIViewController {
293
guard mapItems != self.resultsViewController.mapItems else { return }
294
self.resultsViewController.mapItems = mapItems
295
if self.isRedoingSearch {
296
- self.updateAnnotations()
+ let _ = self.updateAnnotations()
297
self.mapIndicator.stopAnimating()
298
}
299
self.search = nil
@@ -545,7 +545,7 @@ extension MapViewController: MKMapViewDelegate {
545
546
547
open func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
548
- guard let view = view as? MKPinAnnotationView else { return }
+ guard view is MKPinAnnotationView else { return }
549
guard !isDeferringSelection else { return }
550
zoomOut(animated: true)
551
0 commit comments